cvs commit: src/sys/compat/linux linux_misc.c
Alexander Leidinger
netchild at FreeBSD.org
Sat Sep 16 07:12:05 PDT 2006
netchild 2006-09-16 14:12:05 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_misc.c
Log:
- 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 at 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
Revision Changes Path
1.187 +38 -4 src/sys/compat/linux/linux_misc.c
More information about the cvs-src
mailing list