cvs commit: src/sys/compat/linux linux_misc.c
Alexander Leidinger
netchild at FreeBSD.org
Sat Sep 23 03:36:58 PDT 2006
netchild 2006-09-23 10:36:57 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/compat/linux linux_misc.c
Log:
MFC rev. 1.187:
- 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]
Approved by: re (hrs)
Revision Changes Path
1.170.2.2 +38 -4 src/sys/compat/linux/linux_misc.c
More information about the cvs-src
mailing list