freebsd-nq/sys/compat/linux
Maxim Sobolev d8ff44b79f Split out kill(2) syscall service routine into user-level and kernel part, the
former is callable from user space and the latter from the kernel one. Make
kernel version take additional argument which tells if the respective call
should check for additional restrictions for sending signals to suid/sugid
applications or not.

Make all emulation layers using non-checked version, since signal numbers in
emulation layers can have different meaning that in native mode and such
protection can cause misbehaviour.

As a result remove LIBTHR from the signals allowed to be delivered to a
suid/sugid application.

Requested (sorta) by:	rwatson
MFC after:	2 weeks
2005-02-13 16:42:08 +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 Use kern_setitimer() to implement linux_alarm() instead of fondling the 2005-02-07 18:36:21 +00:00
linux_signal.c Split out kill(2) syscall service routine into user-level and kernel part, the 2005-02-13 16:42:08 +00:00
linux_signal.h
linux_socket.c Extend kern_sendit() to take another enum uio_seg argument, which specifies 2005-01-30 07:20:36 +00:00
linux_socket.h
linux_stats.c - Use kern_{l,f,}stat() and kern_{f,}statfs() functions rather than 2005-02-07 18:47:28 +00:00
linux_sysctl.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_uid16.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_util.c Make linux_emul_convpath() a simple wrapper for kern_alternate_path(). 2005-02-07 18:46:05 +00:00
linux_util.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00