Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src



Module Name:    src
Committed By:   martin
Date:           Mon Oct  4 14:48:25 UTC 2021

Modified Files:
        src/sys/miscfs/fifofs [netbsd-9]: fifo_vnops.c
        src/tests/kernel/kqueue/write [netbsd-9]: t_fifo.c

Log Message:
Pull up following revision(s) (requested by thorpej in ticket #1353):

        sys/miscfs/fifofs/fifo_vnops.c: revision 1.90
        tests/kernel/kqueue/write/t_fifo.c: revision 1.5

- 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.79.8.2 -r1.79.8.3 src/sys/miscfs/fifofs/fifo_vnops.c
cvs rdiff -u -r1.4 -r1.4.16.1 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