Date: Sat, 16 Sep 2006 14:12:05 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <200609161412.k8GEC5ko055860@repoman.freebsd.org>
index | next in thread | raw e-mail
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@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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609161412.k8GEC5ko055860>
