diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-05-03 05:09:55 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2006-05-03 05:09:55 +0000 |
commit | 12c0974550ee4e1000814886ba0305a2a07e6456 (patch) | |
tree | e8e9561093334fb0329beaf9bb371ac0a7649507 /share/man/man4 | |
parent | 69a8411c717e29b6c4375c6fc8f818863b775731 (diff) |
SYSTR_MSG_CHILD is also sent when a child exits, from pr 5088
ok jmc, provos
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/systrace.4 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man4/systrace.4 b/share/man/man4/systrace.4 index 69c3acb57d3..3a2c56f8d3e 100644 --- a/share/man/man4/systrace.4 +++ b/share/man/man4/systrace.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: systrace.4,v 1.15 2004/11/09 23:23:56 jaredy Exp $ +.\" $OpenBSD: systrace.4,v 1.16 2006/05/03 05:09:54 sturm Exp $ .\" .\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc. .\" All rights reserved. @@ -109,7 +109,7 @@ struct str_msg_ask { }; struct str_msg_child { - pid_t new_pid; + pid_t new_pid; /* -1 if child exited */ }; .Ed .Pp @@ -126,7 +126,9 @@ SYSTR_FLAGS_RESULT. .It SYSTR_MSG_EMUL This message is sent whenever the emulation of a process changes. .It SYSTR_MSG_CHILD -This message is sent whenever a process gains a child. +This message is sent whenever a process gains or loses a child. +In the latter case, the event is raised when the child exits, but +not when it is reaped. .It SYSTR_MSG_UGID This message is sent whenever the effective UID or GID has changed during the execution of a system call. |