Page MenuHomeFreeBSD

linux(4): Fixup waitid handling P_PGID idtype.
ClosedPublic

Authored by dchagin on Aug 16 2021, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 8:39 PM
Unknown Object (File)
Mon, Jun 15, 7:00 PM
Unknown Object (File)
Mon, Jun 15, 6:56 PM
Unknown Object (File)
Sun, Jun 14, 5:35 PM
Unknown Object (File)
May 21 2026, 6:07 PM
Unknown Object (File)
May 20 2026, 12:01 PM
Unknown Object (File)
May 20 2026, 9:07 AM
Unknown Object (File)
May 19 2026, 9:54 PM
Subscribers

Details

Summary

Since Linux 5.4, if id is zero, then wait for any child that is in the same
process grop as the caller's process group.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

call kern_getpgid if id is zero

abandon kern_getpgid, add check for osrelease

This revision was not accepted when it landed; it landed in state Needs Review.Mar 31 2022, 5:51 PM
This revision was automatically updated to reflect the committed changes.