diff options
author | 2006-05-03 05:09:54 +0000 | |
---|---|---|
committer | 2006-05-03 05:09:54 +0000 | |
commit | 5d8b0f664523d6e550ef2be07f7ca840373519d6 (patch) | |
tree | b0b2ca47110c101ca30d14a9f4c52b592ab092f4 | |
parent | Provide a function pointer that allows for the wdc reset (diff) | |
download | wireguard-openbsd-5d8b0f664523d6e550ef2be07f7ca840373519d6.tar.xz wireguard-openbsd-5d8b0f664523d6e550ef2be07f7ca840373519d6.zip |
SYSTR_MSG_CHILD is also sent when a child exits, from pr 5088
ok jmc, provos
-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. |