diff options
author | Wilbern Cobb <wcobb@cvs.openbsd.org> | 2002-07-22 15:18:01 +0000 |
---|---|---|
committer | Wilbern Cobb <wcobb@cvs.openbsd.org> | 2002-07-22 15:18:01 +0000 |
commit | 0b1395a6f28e2e73a8fab3386ac2318a0cd1a993 (patch) | |
tree | c68388dd0bf31204d70493c9947bc6086f6fa23b | |
parent | c8040f53f08a337c281d02c81a77206c04909ee9 (diff) |
Document the REPORT and REPLACE ioctls.
ok provos@.
-rw-r--r-- | share/man/man4/systrace.4 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man4/systrace.4 b/share/man/man4/systrace.4 index cfd9207288f..6d5fde99b05 100644 --- a/share/man/man4/systrace.4 +++ b/share/man/man4/systrace.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: systrace.4,v 1.2 2002/06/03 15:44:17 mpech Exp $ +.\" $OpenBSD: systrace.4,v 1.3 2002/07/22 15:18:00 wcobb Exp $ .\" .\" Copyright (c) 2002 CubeSoft Communications, Inc. .\" All rights reserved. @@ -147,6 +147,24 @@ struct systrace_answer { #define SYSTR_FLAGS_RESULT 0x0001 /* Report syscall result */ }; .Ed +.It Dv STRIOCREPORT Fa "pid_t" +Report the current emulation a process is using inside the +.Va msg_emul +structure. +.It Dv STRIOCREPLACE Fa "struct systrace_replace" +Arrange for system call arguments to be replaced by arguments +supplied by the monitoring process. +.Bd -literal +struct systrace_replace { + pid_t strr_pid; + int strr_nrepl; /* # of arguments to replace */ + caddr_t strr_base; /* Base user memory */ + size_t strr_len; /* Length of memory */ + int strr_argind[SYSTR_MAXARGS]; /* Argument indexes */ + size_t strr_off[SYSTR_MAXARGS]; /* Argument offsets */ + size_t strr_offlen[SYSTR_MAXARGS]; /* Argument sizes */ +}; +.Ed .It Dv STRIOCIO Fa "struct systrace_io" Copy data in/out of the process being traced. .Bd -literal |