Page MenuHomeFreeBSD

linuxulator: Return EINVAL for invalid inotify flags
ClosedPublic

Authored by emaste on Jun 1 2026, 6:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 12, 4:54 PM
Unknown Object (File)
Mon, Oct 12, 4:54 PM
Unknown Object (File)
Mon, Oct 12, 5:56 AM
Unknown Object (File)
Fri, Oct 9, 4:43 PM
Unknown Object (File)
Wed, Oct 7, 1:20 PM
Unknown Object (File)
Sat, Oct 3, 8:02 AM
Unknown Object (File)
Sat, Oct 3, 6:02 AM
Unknown Object (File)
Thu, Oct 1, 7:31 AM
Subscribers

Details

Summary
We implement all of the currently-defined Linux inotify mask bits and
flags, with the same values as Linux.  Return EINVAL for unknown bits,
as Linux does.

This also moves the translation inline into linux_inotify_add_watch.

Diff Detail

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