diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-01-07 21:15:44 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-01-07 21:15:44 +0000 |
commit | c0c29b7796b53657559c366a2a3296e64497871d (patch) | |
tree | ad650cc3be11958964e43d4d88d1f542b33ca857 /bin/systrace/systrace.1 | |
parent | 8341e9f47ce3b457adc79d16be8c5c294fe84f2c (diff) |
new command line option allows logging to stderr instead of syslog
"looks good" provos@, ok markus@
Diffstat (limited to 'bin/systrace/systrace.1')
-rw-r--r-- | bin/systrace/systrace.1 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/bin/systrace/systrace.1 b/bin/systrace/systrace.1 index ee379ca4f83..7336d218851 100644 --- a/bin/systrace/systrace.1 +++ b/bin/systrace/systrace.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: systrace.1,v 1.37 2003/11/20 10:53:59 jmc Exp $ +.\" $OpenBSD: systrace.1,v 1.38 2004/01/07 21:15:42 sturm Exp $ .\" .\" Copyright 2002 Niels Provos <provos@citi.umich.edu> .\" All rights reserved. @@ -39,7 +39,7 @@ .Sh SYNOPSIS .Nm systrace .Bk -words -.Op Fl AaitUu +.Op Fl AaeitUu .Op Fl c Ar uid:gid .Op Fl d Ar policydir .Op Fl f Ar file @@ -86,7 +86,12 @@ The created policy functions as a base that can be refined. .It Fl a Enables automatic enforcement of configured policies. An operation not covered by policy is denied and logged via -.Xr syslog 3 . +.Xr syslog 3 , +or to +.Em stderr +if the +.Fl e +flag is specified. .It Fl c Ar uid:gid Specifies the .Va uid @@ -99,6 +104,11 @@ root privilege. .It Fl d Ar policydir Specifies an alternative location for the user's directory from which policies are loaded and to which changed policies are stored. +.It Fl e +Specifies to log to +.Em stderr +instead of +.Xr syslog 3 . .It Fl f Ar file The policies specified in .Ar file @@ -221,8 +231,7 @@ the specified regular expression. By appending the .Va log statement to a rule, a matching system call and its arguments -is logged to -.Xr syslog 3 . +are logged. This is useful, for example, to log all invocations of the .Va execve system call. |