summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-14 00:24:39 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2014-06-14 00:24:39 +0000
commite131e0a90e9a86d82fc50286f38290c80b657163 (patch)
tree6b826bae58149f606407d3b2df81501d35406395
parentfa87a306f7a48b3b45f48ebf0eb80de298f977a7 (diff)
Fix a couple systrace(4) nits
Mention SYSTRACE_POLICY_KILL again later as appropriate and document that STRIOCINJECT takes a pointer to a struct systrace_inject.
-rw-r--r--share/man/man4/systrace.45
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man4/systrace.4 b/share/man/man4/systrace.4
index 52005382d07..92cbff564b7 100644
--- a/share/man/man4/systrace.4
+++ b/share/man/man4/systrace.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: systrace.4,v 1.20 2014/06/14 00:17:52 matthew Exp $
+.\" $OpenBSD: systrace.4,v 1.21 2014/06/14 00:24:38 matthew Exp $
.\"
.\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc.
.\" All rights reserved.
@@ -257,6 +257,7 @@ struct systrace_policy {
#define SYSTR_POLICY_ASK 0
#define SYSTR_POLICY_PERMIT 1
#define SYSTR_POLICY_NEVER 2
+#define SYSTR_POLICY_KILL 3
short policy;
} assign;
pid_t pid;
@@ -314,7 +315,7 @@ struct systrace_getcwd {
.Ed
.It Dv STRIOCRESCWD
Restore the working directory of the current process.
-.It Dv STRIOCINJECT
+.It Dv STRIOCINJECT Fa "struct systrace_inject *"
Inject a buffer into the stackgap of the traced process.
This accommodates for the manipulation of non-scalar arguments.
The actual replacement is not done until system call time,