HomeFreeBSD

linux(4): wait4() returns ESRCH if pid is INT_MIN.

Description

linux(4): wait4() returns ESRCH if pid is INT_MIN.

Weird and undocumented patch was added to the Linux kernel in 2017,
fixes wait403 LTP test.

MFC after: 2 weeks

(cherry picked from commit 9103c5582a2d271fa8f4df136ae511da572c660f)

Details

Provenance
dchaginAuthored on Mar 31 2022, 5:49 PM
Parents
rG65d3f90d13b6: linux(4): Rid unused defines from linux_mib.
Branches
Unknown
Tags
Unknown