Previously, a negative change list length would be treated the same as
an empty change list. A negative event list length would result in
bogus copyouts. Make kevent(2) return EINVAL for both cases so that
application bugs are more easily found and to be more robust against
future changes to kevent internals.
Details
Details
- Reviewers
kib imp - Group Reviewers
manpages - Commits
- rGe00bae5c181a: kevent: Prohibit negative change and event list lengths
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable