Date: Sat, 23 Sep 2006 10:36:57 +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: <200609231036.k8NAavMc047543@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609231036.k8NAavMc047543>
