summaryrefslogtreecommitdiffstats
path: root/sbin/init
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2006-02-28 08:02:28 +0000
committerluigi <luigi@FreeBSD.org>2006-02-28 08:02:28 +0000
commit883415e84d7af3a9195409255f023a8542848011 (patch)
tree2763429fcbfbd7f4bcc3db9ec03a93bee70545a3 /sbin/init
parentadf2710156bebb8ca1c1cb58183280cb024d37f5 (diff)
downloadFreeBSD-src-883415e84d7af3a9195409255f023a8542848011.zip
FreeBSD-src-883415e84d7af3a9195409255f023a8542848011.tar.gz
use standard mode instead of 500 for /sbin/init.
As discussed on -current, there is no sensitive info in /sbin/init to prevent reading it from non-privileged users, nor any reason to remove the 'x' bit as the first thing the program does is check the uid and exit if it is not run by root. Instead (and this is why i make the change), mode 500 prevents operation when exporting the partition without -maproot=0 to diskless clients. All previuos releases are affected by the same problem, so a merge to RELENG_6 at least would be appropriate (after proper re@ approval of course).
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 1d7c39f..0dcbffa 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -4,7 +4,6 @@
PROG= init
MAN= init.8
MLINKS= init.8 securelevel.8
-BINMODE=500
PRECIOUSPROG=
INSTALLFLAGS=-b -B.bak
WARNS?= 6
OpenPOWER on IntegriCloud