Date: Thu, 1 Mar 2007 19:20:25 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <200703011920.l21JKPDP058954@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703011920.l21JKPDP058954>
