History log of /freebsd-12.1/sys/sys/wait.h (Results 1 – 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 51369649 20-Nov-2017 Pedro F. Giffuni <[email protected]>

sys: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for

sys: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# fbbd9655 28-Feb-2017 Warner Losh <[email protected]>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <[email protected]>
Pull Request: https://github.com/freebsd/freebsd/pull/96

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0
# b4490c6e 18-Jul-2015 Konstantin Belousov <[email protected]>

The si_status field of the siginfo_t, provided by the waitid(2) and
SIGCHLD signal, should keep full 32 bits of the status passed to the
_exit(2).

Split the combined p_xstat of the struct proc into

The si_status field of the siginfo_t, provided by the waitid(2) and
SIGCHLD signal, should keep full 32 bits of the status passed to the
_exit(2).

Split the combined p_xstat of the struct proc into the separate exit
status p_xexit for normal process exit, and signalled termination
information p_xsig. Kernel-visible macro KW_EXITCODE() reconstructs
old p_xstat from p_xexit and p_xsig. p_xexit contains complete status
and copied out into si_status.

Requested by: Joerg Schilling
Reviewed by: jilles (previous version), pho
Tested by: pho
Sponsored by: The FreeBSD Foundation

show more ...


Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0
# f24deb02 11-Aug-2013 Jilles Tjoelker <[email protected]>

wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true.


Revision tags: release/8.4.0, release/9.1.0
# e2d55f48 16-Nov-2012 Konstantin Belousov <[email protected]>

Move the definition of the idtype_t from sys/types.h to sys/wait.h.
Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE),
since __BSD_VISIBLE is always defined.
Reformat the comme

Move the definition of the idtype_t from sys/types.h to sys/wait.h.
Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE),
since __BSD_VISIBLE is always defined.
Reformat the comments from the Solaris style to KNF.

Reported and reviewed by: bde
MFC after: 28 days

show more ...


# f13b5a0f 13-Nov-2012 Konstantin Belousov <[email protected]>

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 t

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" <[email protected]>
MFC after: 1 month

show more ...


Revision tags: release/8.3.0, release/7.4.0, release/8.2.0, release/8.1.0, release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0
# cbc15844 26-Aug-2008 Konstantin Belousov <[email protected]>

Implement WNOWAIT flag for wait4(2). It specifies that process whose status
is returned shall be kept in the waitable state.
Add WSTOPPED as an alias for WUNTRACED.

Submitted by: Jukka Ukkonen <jau

Implement WNOWAIT flag for wait4(2). It specifies that process whose status
is returned shall be kept in the waitable state.
Add WSTOPPED as an alias for WUNTRACED.

Submitted by: Jukka Ukkonen <jau at iki fi>
PR: standards/116221
MFC after: 2 weeks

show more ...


Revision tags: release/7.0.0, release/6.3.0, release/6.2.0, release/5.5.0, release/6.1.0
# 832703a4 10-Nov-2005 David Xu <[email protected]>

Since union wait was removed in revision 1.17 (3 years, 5 months ago),
type casting version of macro _W_INT is no longer needed.

Discussed with: yongari


Revision tags: release/6.0.0, release/5.4.0, release/4.11.0
# c8837938 05-Jan-2005 John Baldwin <[email protected]>

- Move the function prototypes for kern_setrlimit() and kern_wait() to
sys/syscallsubr.h where all the other kern_foo() prototypes live.
- Resort kern_execve() while I'm there.


Revision tags: release/5.3.0, release/4.10.0
# ae8aa734 09-Apr-2004 Bruce Evans <[email protected]>

Fixed missing forward declaration of struct rusage in the _KERNEL case.

Removed namespace-polluting forward declaration of struct rusage in the
!_KERNEL && !_BSD_VISIBLE case.

Fixed some nearby sty

Fixed missing forward declaration of struct rusage in the _KERNEL case.

Removed namespace-polluting forward declaration of struct rusage in the
!_KERNEL && !_BSD_VISIBLE case.

Fixed some nearby style bugs.

show more ...


# 82c6e879 07-Apr-2004 Warner Losh <[email protected]>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core


# b7e23e82 17-Mar-2004 John Baldwin <[email protected]>

- Replace wait1() with a kern_wait() function that accepts the pid,
options, status pointer and rusage pointer as arguments. It is up to
the caller to copyout the status and rusage to userland i

- Replace wait1() with a kern_wait() function that accepts the pid,
options, status pointer and rusage pointer as arguments. It is up to
the caller to copyout the status and rusage to userland if needed. This
lets us axe the 'compat' argument and hide all that functionality in
owait(), by the way. This also cleans up some locking in kern_wait()
since it no longer has to drop locks around copyout() since all the
copyout()'s are deferred.
- Convert owait(), wait4(), and the various ABI compat wait() syscalls to
use kern_wait() rather than wait1() or wait4(). This removes a bit
more stackgap usage.

Tested on: i386
Compiled on: i386, alpha, amd64

show more ...


Revision tags: release/5.2.1, release/5.2.0, release/4.9.0, release/5.1.0, release/4.8.0, release/5.0.0, release/4.6.2
# 8375a2c4 05-Jun-2002 Mike Barcroft <[email protected]>

Remove the deprecated 4.2/4.3BSD wait union.


# 8ad4a5a6 01-Jun-2002 Mike Barcroft <[email protected]>

Be more strict about namespaces.

Submitted by: wollman (mostly)


# 0658e085 01-Jun-2002 Mike Barcroft <[email protected]>

Fix some, but not all style bugs.


# 6ee093fb 01-Jun-2002 Mike Barcroft <[email protected]>

Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flag
(P_CONTINUED) is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
no

Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flag
(P_CONTINUED) is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
notification via waitpid(2) with WCONTINUED specified in its options
operand. The status value can be checked with the new WIFCONTINUED()
macro.

Reviewed by: jake

show more ...


# aa37be50 27-May-2002 Mike Barcroft <[email protected]>

Use underscored variant of BYTE_ORDER and friends to allow this to
work in a !__BSD_VISIBLE environment.


# 789f12fe 19-Mar-2002 Alfred Perlstein <[email protected]>

Remove __P


Revision tags: release/4.3.0
# 664a31e4 29-Dec-1999 Peter Wemm <[email protected]>

Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is cons

Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.

show more ...


# c3aac50f 28-Aug-1999 Peter Wemm <[email protected]>

$Id$ -> $FreeBSD$


# 4ac9ae70 02-Mar-1999 Julian Elischer <[email protected]>

Fix thread/process tracking and differentiation for Linux threads emulation.

Submitted by: Richard Seaman, Jr." <[email protected]>

Also clean some compiler warnings in surrounding code.


# 6875d254 22-Feb-1997 Peter Wemm <[email protected]>

Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
ready for it yet.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <[email protected]>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


# 02e2c406 11-Mar-1996 Peter Wemm <[email protected]>

Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all
files are off the vendor branch, so this should not change anything.

A "U" marker generally means that the file was not chang

Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all
files are off the vendor branch, so this should not change anything.

A "U" marker generally means that the file was not changed in between
the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally
means that there was a change.
[new sys/syscallargs.h file, to be "cvs rm"ed]

show more ...


# eed665fc 11-Mar-1996 Jeffrey Hsu <[email protected]>

Merge in Lite2: fix typo in comment.
Reviewed by: davidg & bde


12