summaryrefslogtreecommitdiff
path: root/distrib/sparc64/bsd.rd
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2016-09-04 09:54:23 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2016-09-04 09:54:23 +0000
commit7db91a8f381fb9c07940741a6df3b26a3e94aa70 (patch)
tree75d6a4ef1bbe6f6a4274dad70340f8e3a5e00547 /distrib/sparc64/bsd.rd
parent886104b9371e122d66858ab86a3bc4e6cc5206db (diff)
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/sparc64/bsd.rd')
-rw-r--r--distrib/sparc64/bsd.rd/list8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/sparc64/bsd.rd/list b/distrib/sparc64/bsd.rd/list
index 24c87d9d292..cb3f3804c9c 100644
--- a/distrib/sparc64/bsd.rd/list
+++ b/distrib/sparc64/bsd.rd/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.58 2016/09/03 10:57:12 rpe Exp $
+# $OpenBSD: list,v 1.59 2016/09/04 09:54:22 rpe Exp $
SRCDIRS distrib/special
@@ -71,9 +71,9 @@ SPECIAL pwd_mkdb -p -d etc master.passwd; rm etc/master.passwd
COPY ${DESTDIR}/etc/signify/openbsd-${REV}-base.pub etc/signify/openbsd-${REV}-base.pub
COPY ${CURDIR}/../../miniroot/protocols etc/protocols
COPY ${CURDIR}/../../miniroot/services etc/services
-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
TERMCAP vt100,vt220,dumb,sun usr/share/misc/termcap
# and the installation scripts