NetBSD-Bugs archive

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

PR/56429 CVS commit: src



The following reply was made to PR kern/56429; it has been noted by GNATS.

From: "Jason R Thorpe" <thorpej%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/56429 CVS commit: src
Date: Sat, 2 Oct 2021 02:07:42 +0000

 Module Name:	src
 Committed By:	thorpej
 Date:		Sat Oct  2 02:07:42 UTC 2021
 
 Modified Files:
 	src/sys/kern: uipc_socket2.c
 	src/sys/miscfs/fifofs: fifo_vnops.c
 	src/tests/lib/libc/sys: t_poll.c
 
 Log Message:
 - fifo_poll(): If the last writer has disappeared, detect this and return
   POLLHUP, per POSIX.
 - fifo_close(): Use the new fifo_socantrcvmore(), which is like the
   garden-variety socantrcvmore(), except it specifies POLL_HUP rather
   than POLL_IN (so the correct code for SIGIO is sent).
 - sowakeup(): Allow POLL_HUP as a code (notifies poll'ers with POLLHUP).
 - Add test cases for correct POLLHUP behavior with FIFOs.
 
 Fixes PR kern/56429.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.139 -r1.140 src/sys/kern/uipc_socket2.c
 cvs rdiff -u -r1.86 -r1.87 src/sys/miscfs/fifofs/fifo_vnops.c
 cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_poll.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