cvs commit: src/sys/kern sys_generic.c
Bruce M Simpson
bms at FreeBSD.org
Thu Mar 1 19:20:26 UTC 2007
bms 2007-03-01 19:20:25 UTC
FreeBSD src repository
Modified files:
sys/kern sys_generic.c
Log:
Do not dispatch SIGPIPE from the generic write path for a socket; with
this patch the code behaves according to the comment on the line above.
Without this patch, a socket could cause SIGPIPE to be delivered to its
process, once with SO_NOSIGPIPE set, and twice without.
With this patch, the kernel now passes the sigpipe regression test.
Tested by: Anton Yuzhaninov
MFC after: 1 week
Revision Changes Path
1.152 +1 -1 src/sys/kern/sys_generic.c
More information about the cvs-src
mailing list