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
F164210869: D31554.diff
Wed, Jul 29, 5:28 PM
F164210828: D31554.id104410.diff
Wed, Jul 29, 5:27 PM
Unknown Object (File)
Thu, Jul 23, 2:52 AM
Unknown Object (File)
Tue, Jul 21, 3:59 AM
Unknown Object (File)
Mon, Jul 20, 11:01 AM
Unknown Object (File)
Thu, Jul 2, 7:50 PM
Unknown Object (File)
Jun 21 2026, 7:20 PM
Unknown Object (File)
Jun 5 2026, 2:08 AM
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