diff options
author | bms <bms@FreeBSD.org> | 2007-03-01 19:20:25 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-03-01 19:20:25 +0000 |
commit | 62de975b4dd173f6b7bf54718b6fab2809bec4fb (patch) | |
tree | 56bc10fa27bb327bbf3d4ec512a033cc2bec73e4 /sys/libkern/scanc.c | |
parent | b22fc5713d7905326dc216da00e8cd15f590b1ea (diff) | |
download | FreeBSD-src-62de975b4dd173f6b7bf54718b6fab2809bec4fb.zip FreeBSD-src-62de975b4dd173f6b7bf54718b6fab2809bec4fb.tar.gz |
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
Diffstat (limited to 'sys/libkern/scanc.c')
0 files changed, 0 insertions, 0 deletions