HomeFreeBSD

kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT

Description

kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT

NOTE_CHILD and NOTE_EXIT return something in kevent.data: the parent
pid (ppid) for NOTE_CHILD and the exit status for NOTE_EXIT.
Do not let the two events be combined, since one would overwrite
the other's data.

PR: 180385
Submitted by: David A. Bright <david_a_bright@dell.com>
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D4900

Details

Provenance
vangyzenAuthored on
Reviewer
jhb
Differential Revision
D4900: kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT
Parents
rS295011: Import updated device-tree files from:
Branches
Unknown
Tags
Unknown