History log of /openbsd-src/sys/sys/wait.h (Results 1 – 20 of 20)
Revision Date Author Comments
# 60972c46 19-Dec-2022 guenther <guenther@openbsd.org>

Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED
state changes are reported. That's the 6th bit, so switch to hex
constants. Adjust #if tests for consistency

ok kettenis@


# 8112871f 25-Oct-2022 kettenis <kettenis@openbsd.org>

Implement waitid(2) which is now part of POSIX and used by mozilla.
This includes a change of siginfo_r which is technically an ABI break but
this should have no real-world impact since the members i

Implement waitid(2) which is now part of POSIX and used by mozilla.
This includes a change of siginfo_r which is technically an ABI break but
this should have no real-world impact since the members involved are
never touched by the kernel.

ok millert@, deraadt@

show more ...


# 678831be 10-Mar-2021 jsg <jsg@openbsd.org>

spelling

ok gnezdo@ semarie@ mpi@


# f3be2f42 13-Jun-2014 matthew <matthew@openbsd.org>

Remove support for "union wait" and WSTOPPED.

union wait has been deprecated since 4.3BSD, and WSTOPPED means
something else now in POSIX, that we don't yet support.

Original diff by guenther, from

Remove support for "union wait" and WSTOPPED.

union wait has been deprecated since 4.3BSD, and WSTOPPED means
something else now in POSIX, that we don't yet support.

Original diff by guenther, from 2.5 years ago.
Ports tree cleanup and re-testing by naddy.

ok deraadt, kettenis

show more ...


# 34b8a7e2 12-Feb-2014 guenther <guenther@openbsd.org>

Eliminate the exit sig handling, which was only invokable via the
Linux-compat clone() syscall when *not* using CLONE_THREAD. pirofti@
confirms Opera runs in compat without this, so out it goes; one

Eliminate the exit sig handling, which was only invokable via the
Linux-compat clone() syscall when *not* using CLONE_THREAD. pirofti@
confirms Opera runs in compat without this, so out it goes; one less hair
to choke on in kern_exit.c

ok tedu@ pirofti@

show more ...


# 91157de0 24-Mar-2013 deraadt <deraadt@openbsd.org>

label some nested #endif's


# e9bf9556 27-Apr-2006 tedu <tedu@openbsd.org>

use the underscore variants of _BYTE_ORDER which are always defined
even when various "strict" compiler options are used
ok deraadt millert


# e60a226f 30-Mar-2006 deraadt <deraadt@openbsd.org>

do an int & unsigned int dance because of shift of signed value; ok miod


# 52a0e603 13-Dec-2005 millert <millert@openbsd.org>

First step in include files overhaul. Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraad

First step in include files overhaul. Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraadt@

show more ...


# 26a45e40 03-Aug-2003 millert <millert@openbsd.org>

Implement the WCONTINUED flag to the wait(2) family of syscalls and the
associated WIFCONTINUED macro as per 1003.1-2001. Adapted from FreeBSD.
A minor amount of trickiness is involved here. The va

Implement the WCONTINUED flag to the wait(2) family of syscalls and the
associated WIFCONTINUED macro as per 1003.1-2001. Adapted from FreeBSD.
A minor amount of trickiness is involved here. The value for WCONTINUED
is chosen in such a way that _WSTATUS(_WCONTINUED) == _WSTOPPED and the
WIFSTOPPED macro has been modified such that WIFSTOPPED(_WCONTINUED) !=
_WSTOPPED. This means we don't need to add an extra check to the
WIFSIGNALED and WIFSTOPPED macros. deraadt@ OK.

show more ...


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 89238c8b 31-May-2003 deraadt <deraadt@openbsd.org>

only return 8 bits of status


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# b55c050f 23-Jan-2002 fgsch <fgsch@openbsd.org>

compatability -> compatibility.


# 1e2a4b7d 02-Apr-2001 niklas <niklas@openbsd.org>

On popular demand, the Linux-compatibility clone(2) implementation based
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes
at least simple linuxthreads tests work.


# f53ccc09 14-Nov-1996 etheisen <etheisen@openbsd.org>

sys/types.h not machine/endian.h for alpha.


# d724e01a 21-Apr-1996 deraadt <deraadt@openbsd.org>

partial sync with netbsd 960418, more to come


# bb63a7f5 03-Mar-1996 niklas <niklas@openbsd.org>

From NetBSD: 960217 merge


# 8201aacd 14-Dec-1995 deraadt <deraadt@openbsd.org>

from netbsd; wrap against multiple inclusion


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree