freebsd-nq/sys/compat/linux
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
..
linux_file.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_getcwd.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_ioctl.c Boot away another stackgap (one of the lest ones in linuxlator/i386) by 2005-01-30 08:12:37 +00:00
linux_ioctl.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
linux_ipc.c Semctl with IPC_STAT command should return zero in case of success. 2005-02-11 13:46:55 +00:00
linux_ipc.h Changes to MI Linux emulation code necessary to run 32-bit Linux binaries 2004-08-16 07:28:16 +00:00
linux_mib.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_mib.h Add a cleanup function to destroy the osname_lock and call it on module 2003-03-26 18:29:44 +00:00
linux_misc.c Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_signal.c Unbreak the kernel build. Pointy hat to: sobomax. 2005-02-13 19:50:57 +00:00
linux_signal.h
linux_socket.c Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket 2005-03-07 07:26:42 +00:00
linux_socket.h
linux_stats.c Neuter linux_ustat() until somebody finds time to try to fix it. 2005-02-22 13:39:46 +00:00
linux_sysctl.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_uid16.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_util.c Remove linux_emul_find() and the CHECKALT*() macros as they are no longer 2005-03-01 17:57:45 +00:00
linux_util.h Remove linux_emul_find() and the CHECKALT*() macros as they are no longer 2005-03-01 17:57:45 +00:00