aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 2f76dad..0337826 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -17,8 +17,8 @@ printsep
run_hook sysinit_start
# mount /proc, /sys and our RAM /dev
-/bin/mountpoint -q /proc || /bin/mount -n -t proc none /proc
-/bin/mountpoint -q /sys || /bin/mount -n -t sysfs none /sys
+/bin/mountpoint -q /proc || /bin/mount -n -t proc proc /proc -o nosuid,noexec,nodev
+/bin/mountpoint -q /sys || /bin/mount -n -t sysfs sysfs /sys -o nosuid,noexec,nodev
if ! /bin/mountpoint -q /dev; then
if grep -q devtmpfs /proc/filesystems 2>/dev/null; then