SYSTRACE(1) OpenBSD Reference Manual SYSTRACE(1)
NAME
systrace - generate and enforce system call policies
SYNOPSIS
systrace [-AaCeitUuV] [-c user:group] [-d policydir] [-E logfile]
[-f file] [-g gui] [-p pid] command ...
DESCRIPTION
The systrace utility monitors and controls an application's access to the
system by enforcing access policies for system calls. The systrace util-
ity might be used to trace an untrusted application's access to the sys-
tem. Alternatively, it might be used to protect the system from software
bugs (such as buffer overflows) by constraining a daemon's access to the
system. Its privilege elevation feature can be used to obviate the need
to run large, untrusted programs as root when only one or two system
calls require root privilege.
The access policy can be generated interactively or obtained from a poli-
cy file. Interactive policy generation will be performed by the
``notification user agent'', normally xsystrace(1), unless text mode is
specified via -t.
When running in ``automatic enforcement'' mode, operations not covered by
the policy raise an alarm and allow a user to refine the currently con-
figured policy.
阅读(2421) | 评论(0) | 转发(0) |