diff options
author | kib <kib@FreeBSD.org> | 2012-11-13 12:52:31 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-11-13 12:52:31 +0000 |
commit | 1409e8df208328336c5d9a8943bd8b7f1d42d12e (patch) | |
tree | 9144bfce419068b77a3142b83020e456fa156551 /sys/compat/freebsd32/syscalls.master | |
parent | 974b82f77de16221515a7323e98f7e2514ff4e13 (diff) | |
download | FreeBSD-src-1409e8df208328336c5d9a8943bd8b7f1d42d12e.zip FreeBSD-src-1409e8df208328336c5d9a8943bd8b7f1d42d12e.tar.gz |
Add the wait6(2) system call. It takes POSIX waitid()-like process
designator to select a process which is waited for. The system call
optionally returns siginfo_t which would be otherwise provided to
SIGCHLD handler, as well as extended structure accounting for child
and cumulative grandchild resource usage.
Allow to get the current rusage information for non-exited processes
as well, similar to Solaris.
The explicit WEXITED flag is required to wait for exited processes,
allowing for more fine-grained control of the events the waiter is
interested in.
Fix the handling of siginfo for WNOWAIT option for all wait*(2)
family, by not removing the queued signal state.
PR: standards/170346
Submitted by: "Jukka A. Ukkonen" <jau@iki.fi>
MFC after: 1 month
Diffstat (limited to 'sys/compat/freebsd32/syscalls.master')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 478558a..4106447 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -1000,3 +1000,8 @@ uint32_t offset1, uint32_t offset2,\ uint32_t len1, uint32_t len2, \ int advice); } +532 AUE_WAIT6 STD { int freebsd32_wait6(int idtype, int id, \ + int *status, int options, \ + struct wrusage32 *wrusage, \ + siginfo_t *info); } + |