freebsd-dev/sys/compat/linux
Alexander Leidinger 18f81b3dfa - don't reboot() when feed with wrong parameters (and enough permissions) [1]
- add support to power off the system [2]
- check the linux magic values [3]

Submitted by:	Marcin Cieslak <saper@SYSTEM.PL> [1,2]
Modelled after:	linux man page of the reboot() syscall [3]
Found by:	LTP testcase "reboot02" [1]
Tested with:	LTP testcase "reboot02" [1,3]
MFC after:	1 week
2006-09-16 14:12:04 +00:00
..
linux_emul.c - Extend the coverage of PROC_LOCK to cover wakeup(&p->p_emuldata); 2006-09-09 16:55:55 +00:00
linux_emul.h Move some stuff into headers where they belong. 2006-08-17 21:06:48 +00:00
linux_file.c The Linux unlink syscall uses a different errno value when trying to unlink 2006-09-10 13:47:56 +00:00
linux_futex.c Change futex lock from mutex to sx. Make futex_get atomic (protected by the 2006-09-09 16:25:25 +00:00
linux_futex.h Add some new files needed for linux 2.6.x compatibility. 2006-08-15 12:20:59 +00:00
linux_getcwd.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_ioctl.c - Protect the list of linux ioctl handlers with an sx lock. 2006-07-06 21:42:36 +00:00
linux_ioctl.h Now that we don't have a linuxolator on alpha anymore: 2006-05-10 20:38:16 +00:00
linux_ipc.c Rework kern_semctl a bit to always assume the UIO_SYSSPACE case. This 2006-07-08 19:51:38 +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 Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_mib.h Remove linux_mib_destroy() (which I actually added in between 5.0 and 5.1) 2005-12-15 16:30:41 +00:00
linux_misc.c - don't reboot() when feed with wrong parameters (and enough permissions) [1] 2006-09-16 14:12:04 +00:00
linux_signal.c Get rid of some nested includes. 2006-08-19 15:13:01 +00:00
linux_signal.h
linux_socket.c Don't free the sockaddr in kern_bind() and kern_connect() as not all 2006-07-19 18:28:52 +00:00
linux_socket.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_stats.c Add the linux statfs64 call. This allows Tivoli backup to proceed a little 2006-08-27 08:56:54 +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 Add some new files needed for linux 2.6.x compatibility. 2006-08-15 12:20:59 +00:00
linux_uid16.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_util.c Add the linux 2.6.x stuff (not used by default!): 2006-08-15 12:54:30 +00:00
linux_util.h Axe the stackgap macros as the Linux ABIs no longer use the stackgap. 2006-06-27 18:30:49 +00:00