Browse Source

Immediately after mounting / read-write, chmod og-rwx the kernel. Remote

prying eyes were already been hindered at determining kernel addresses, now
local prying eyes are also hindered.
ok tb rpe
OPENBSD_6_2
deraadt 7 years ago
parent
commit
35c873fe47
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/rc

+ 2
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.498 2017/05/30 12:04:26 tb Exp $
# $OpenBSD: rc,v 1.499 2017/06/03 22:33:36 deraadt Exp $
# System startup script run by init on autoboot or after single-user. # System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the # Output and error are redirected to console by init, and the console is the
@ -342,6 +342,7 @@ mount -a -t nonfs,vnd
# Re-mount the root filesystem read/writeable. (root on nfs requires this, # Re-mount the root filesystem read/writeable. (root on nfs requires this,
# others aren't hurt.) # others aren't hurt.)
mount -uw / mount -uw /
chmod og-rwx /bsd
rm -f /fastboot rm -f /fastboot


Loading…
Cancel
Save