Page MenuHomeFreeBSD

linprocfs: Add nodes for inotify
ClosedPublic

Authored by markj on Oct 16 2025, 9:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 25, 7:43 AM
Unknown Object (File)
Thu, Jul 23, 2:28 AM
Unknown Object (File)
Tue, Jul 21, 7:12 PM
Unknown Object (File)
Wed, Jul 15, 6:49 AM
Unknown Object (File)
Wed, Jul 15, 6:49 AM
Unknown Object (File)
Jul 6 2026, 6:17 AM
Unknown Object (File)
Jul 5 2026, 1:34 AM
Unknown Object (File)
Jun 30 2026, 10:03 PM
Subscribers

Diff Detail

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

Event Timeline

markj requested review of this revision.Oct 16 2025, 9:05 PM
des added inline comments.
sys/compat/linprocfs/linprocfs.c
2234

shouldn't you check the result and return EINVAL if it's invalid or out of range?

Try to validate strtol()'s return value.

sys/compat/linprocfs/linprocfs.c
2237

endp does not need to be initialized.

2239

You should check that endp > newval, unless you're fine with a zero-length write being interpreted as 0.

This revision is now accepted and ready to land.Oct 17 2025, 8:13 AM
This revision was automatically updated to reflect the committed changes.