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
Unknown Object (File)
Dec 22 2023, 10:07 PM
Unknown Object (File)
Dec 20 2023, 12:27 AM
Unknown Object (File)
Nov 7 2023, 8:11 PM
Unknown Object (File)
Sep 16 2023, 11:50 AM
Unknown Object (File)
Sep 16 2023, 3:28 AM
Unknown Object (File)
Jun 30 2023, 3:58 PM
Unknown Object (File)
Jun 27 2023, 9:05 PM
Unknown Object (File)
Jun 2 2023, 10:00 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41063
Build 37952: arc lint + arc unit

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