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 <[EMAIL PROTECTED]> [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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"