freebsd-skq/sys/compat/linux
kib 288874a97d The code in linux_proc_exit() contains a race when multiple linux based
processes exits at the same time.  The linux_emuldata structure is freed
but p->p_emuldata is left as a dangling pointer to the just freed memory.

The check for W_EXIT in the loop scanning the child processes isn't safe
since the state of the child process can change right afterwards. Lock
the process and check the W_EXIT before delivering signal.

Submitted by:	tegge
Reviewed by:	davidxu
MFC after:	1 week
2008-10-31 10:38:30 +00:00
..
linux_emul.c The code in linux_proc_exit() contains a race when multiple linux based 2008-10-31 10:38:30 +00:00
linux_emul.h Implement robust futexes. Most of the code is modelled after 2008-05-13 20:01:27 +00:00
linux_file.c Getdents requires padding with 2 bytes instead of 1 byte 2008-09-09 16:00:17 +00:00
linux_file.h Implement the linux syscalls 2008-04-08 09:45:49 +00:00
linux_futex.c Make robust futexes work on linux32/amd64. Use PTRIN to read 2008-10-14 07:59:23 +00:00
linux_futex.h Make robust futexes work on linux32/amd64. Use PTRIN to read 2008-10-14 07:59:23 +00:00
linux_getcwd.c Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
linux_ioctl.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
linux_ioctl.h Add TIOCPKT and TIOCSPTLCK to the Linuxolator. 2008-07-23 17:47:44 +00:00
linux_ipc.c MFp4 (112379): 2007-01-14 16:34:43 +00:00
linux_ipc.h MFP4 (110956): 2006-12-21 13:11:06 +00:00
linux_mib.c Switch to emulating Linux 2.6 on default. 2008-06-03 17:50:13 +00:00
linux_mib.h MFp4 (111746+): 2006-12-31 12:39:10 +00:00
linux_misc.c Current linux_fooaffinity() emulation fails, as the FreeBSD affinity 2008-10-04 19:23:30 +00:00
linux_misc.h Sanitize arguments to linux_mremap(). 2008-02-22 11:47:56 +00:00
linux_signal.c Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_signal.h Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_socket.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
linux_socket.h
linux_stats.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
linux_sysctl.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_time.c MFP4: 109655 2006-12-20 20:17:35 +00:00
linux_uid16.c Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
linux_util.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
linux_util.h Implement the linux syscalls 2008-04-08 09:45:49 +00:00