Page MenuHomeFreeBSD

linprocfs: Add nodes for inotify
ClosedPublic

Authored by markj on Oct 16 2025, 9:05 PM.
Tags
None
Referenced Files
F157580272: D53142.diff
Sat, May 23, 1:22 AM
F157530963: D53142.id164345.diff
Fri, May 22, 11:58 AM
Unknown Object (File)
Wed, May 20, 5:31 PM
Unknown Object (File)
Mon, May 11, 9:59 AM
Unknown Object (File)
Thu, May 7, 10:06 PM
Unknown Object (File)
Fri, May 1, 8:40 AM
Unknown Object (File)
Fri, May 1, 2:27 AM
Unknown Object (File)
Mon, Apr 27, 4:54 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67833
Build 64716: arc lint + arc unit

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.