Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: thorpej
Date: Sat Oct 2 18:39:15 UTC 2021
Modified Files:
src/sys/miscfs/fifofs: fifo_vnops.c
src/tests/kernel/kqueue/write: t_fifo.c
Log Message:
- Add a new EVFILT_WRITE test case for FIFOs that correctly validates
the writability thresholds.
- Fix a bug in fifo_kqfilter() exposed by the new test case; in the
EVFILT_WRITE case, we were attaching the wrong end of the socket
pair to the knote!
- In filt_fiforead(), use ">= so->so_rcv.sb_lowat" rather than "> 0"
for consistency with fifo_poll(). NFC.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/miscfs/fifofs/fifo_vnops.c
cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/kqueue/write/t_fifo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index