diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-12-13 14:54:23 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-12-13 14:54:23 +0000 |
commit | a2ed3d0be022b17fa7362efd74f839646949a6a5 (patch) | |
tree | 2f4c1b3f9bf5d4ef64e2c9c5eed32b7c971c936f /sys/kern/subr_prof.c | |
parent | eaf5f4103506feda446d96464aa4609b5543552e (diff) |
Prevent kevent(2) use of EVFILT_EXCEPT with FIFOs and pipes
Currently, the only intended direct usage of the EVFILT_EXCEPT filter
is with NOTE_OOB to detect out-of-band data in ptys and sockets.
NOTE_OOB does not apply to FIFOs or pipes. Prevent the user from
registering the filter with these file types. The filter code is for
the kernel's internal use.
OK mpi@
Diffstat (limited to 'sys/kern/subr_prof.c')
0 files changed, 0 insertions, 0 deletions