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)
Mar 9 2024, 4:16 AM
Unknown Object (File)
Mar 7 2024, 8:55 PM
Unknown Object (File)
Feb 19 2024, 1:37 AM
Unknown Object (File)
Jan 18 2024, 6:12 PM
Unknown Object (File)
Dec 25 2023, 3:35 AM
Unknown Object (File)
Dec 22 2023, 9:37 PM
Unknown Object (File)
Dec 16 2023, 2:03 PM
Unknown Object (File)
Nov 28 2023, 8:59 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.