aboutsummaryrefslogtreecommitdiff
path: root/lib/libsys/kqueue.2
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-07-27 10:15:26 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-07-27 10:15:26 +0000
commit2bacbbecb165dd761ea7ec2fc35630db61508cdf (patch)
treed95ffb95fef0fc0a03e1992a882def84223c540f /lib/libsys/kqueue.2
parent407b7bcc93862fe0c026e254bac8ec0e8318e7e6 (diff)
kqueue: Add NOTE_REAP
Add a NOTE_REAP event for EVFILTER_PROC which provides a notification when the process is reaped. MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. Reviewed by: kib, markj Differential Revision: https://reviews.freebsd.org/D58313
Diffstat (limited to 'lib/libsys/kqueue.2')
-rw-r--r--lib/libsys/kqueue.210
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libsys/kqueue.2 b/lib/libsys/kqueue.2
index d2c6ed102f29..6d2a10b1b139 100644
--- a/lib/libsys/kqueue.2
+++ b/lib/libsys/kqueue.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 24, 2026
+.Dd July 22, 2026
.Dt KQUEUE 2
.Os
.Sh NAME
@@ -543,9 +543,15 @@ The exit status will be stored in
.Va data
in the same format as the status returned by
.Xr wait 2 .
+.It Dv NOTE_REAP
+The process has been reaped by a call to the
+.Xr wait 2
+family of functions.
.It Dv NOTE_FORK
The process has called
-.Fn fork .
+.Xr fork 2
+or
+.Xr vfork 2 .
.It Dv NOTE_EXEC
The process has executed a new process via
.Xr execve 2