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)
Tue, Apr 21, 4:50 AM
Unknown Object (File)
Wed, Apr 15, 6:22 AM
Unknown Object (File)
Wed, Apr 15, 2:15 AM
Unknown Object (File)
Mon, Apr 13, 8:51 AM
Unknown Object (File)
Sun, Apr 12, 12:45 AM
Unknown Object (File)
Sun, Apr 12, 12:20 AM
Unknown Object (File)
Sat, Apr 11, 12:03 PM
Unknown Object (File)
Sat, Apr 11, 1:12 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41076
Build 37965: arc lint + arc unit

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.