summaryrefslogtreecommitdiffstats
path: root/distrib/i386
diff options
context:
space:
mode:
authorrpe <rpe@openbsd.org>2016-09-04 09:54:22 +0000
committerrpe <rpe@openbsd.org>2016-09-04 09:54:22 +0000
commit99042d62fb05f6caee33e9568dff2f09257bad16 (patch)
tree037995ea635676834c550733a314ec3cc66c953f /distrib/i386
parentMove files created by root during install/upgrade in a subdir of (diff)
downloadwireguard-openbsd-99042d62fb05f6caee33e9568dff2f09257bad16.tar.xz
wireguard-openbsd-99042d62fb05f6caee33e9568dff2f09257bad16.zip
Move files created by root during install/upgrade in a subdir of
/tmp with proper permissions so that unprivileged programs can not tamper with them. positive feedback from deraadt OK halex
Diffstat (limited to 'distrib/i386')
-rw-r--r--distrib/i386/common/list8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/i386/common/list b/distrib/i386/common/list
index dc05e15f708..d33c9f9145d 100644
--- a/distrib/i386/common/list
+++ b/distrib/i386/common/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.44 2016/09/03 10:57:11 rpe Exp $
+# $OpenBSD: list,v 1.45 2016/09/04 09:54:22 rpe Exp $
SRCDIRS distrib/special
@@ -74,9 +74,9 @@ COPY ${CURDIR}/../../miniroot/protocols etc/protocols
COPY ${CURDIR}/../../miniroot/services etc/services
TERMCAP vt100,vt220,dumb usr/share/misc/termcap
-SYMLINK /tmp/fstab.shadow etc/fstab
-SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
-SYMLINK /tmp/hosts etc/hosts
+SYMLINK /tmp/i/fstab.shadow etc/fstab
+SYMLINK /tmp/i/resolv.conf.shadow etc/resolv.conf
+SYMLINK /tmp/i/hosts etc/hosts
# and the installation tools
SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile