Page MenuHomeFreeBSD

linux(4): Fixup options value validation in linux_waitid().
ClosedPublic

Authored by dchagin on Aug 16 2021, 12:15 PM.
Tags
None
Referenced Files
F147529456: D31554.id104410.diff
Wed, Mar 11, 4:14 PM
Unknown Object (File)
Tue, Mar 10, 9:43 PM
Unknown Object (File)
Tue, Mar 10, 1:30 AM
Unknown Object (File)
Sun, Mar 8, 3:01 AM
Unknown Object (File)
Sun, Mar 8, 2:42 AM
Unknown Object (File)
Feb 9 2026, 4:22 AM
Unknown Object (File)
Jan 12 2026, 2:54 PM
Unknown Object (File)
Dec 18 2025, 11:40 PM
Subscribers

Diff Detail

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

Event Timeline

emaste added a subscriber: emaste.

This is fine with me, although I wonder if it makes sense to do the check in linux_to_bsd_waitopts so the supported options are all in one place? But no objection from me if you prefer this.

sys/compat/linux/linux_misc.c
1094

Do we have to do anything to handle __WNOTHREAD?

This revision is now accepted and ready to land.Aug 16 2021, 3:18 PM

This is fine with me, although I wonder if it makes sense to do the check in linux_to_bsd_waitopts so the supported options are all in one place? But no objection from me if you prefer this.

wait4 differs against waitid in options, see WEXITED

sys/compat/linux/linux_misc.c
1094

this will be the next change