freebsd-src/sys/compat
Maxim Sobolev 2302f0fea8 Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket
for the duration of the send() call. Such approach may be less than ideal
in threading environment, when several threads share the same socket and it
might happen that several of them are calling linux_send() at the same time
with and without SO_NOSIGPIPE set.

However, such race condition is very unlikely in practice, therefore this
change provides practical improvement compared to the previous behaviour.

PR:		kern/76426
Submitted by:	Steven Hartland <killing@multiplay.co.uk>
MFC after:	3 days
2005-03-07 07:26:42 +00:00
..
freebsd32 Use kern_kevent instead of the stackgap for 32bit syscall wrapping. 2005-03-01 17:45:55 +00:00
ia32 o Split out kernel part of execve(2) syscall into two parts: one that 2005-01-29 23:12:00 +00:00
linprocfs Always produce cpuX entries, even in the case when there is only one CPU 2005-03-06 22:28:14 +00:00
linux Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket 2005-03-07 07:26:42 +00:00
ndis When you call MiniportInitialize() for an 802.11 driver, it will 2005-03-07 03:05:31 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 fixup signal mapping: 2005-02-25 19:34:10 +00:00