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
F132460221: D31567.id93772.diff
Fri, Oct 17, 3:06 AM
F132460216: D31567.id.diff
Fri, Oct 17, 3:06 AM
F132460213: D31567.id93774.diff
Fri, Oct 17, 3:06 AM
F132460212: D31567.id93832.diff
Fri, Oct 17, 3:06 AM
F132460210: D31567.id104414.diff
Fri, Oct 17, 3:06 AM
F132415060: D31567.diff
Thu, Oct 16, 6:02 PM
Unknown Object (File)
Wed, Oct 1, 12:27 PM
Unknown Object (File)
Wed, Oct 1, 10:08 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
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.