From 7db91a8f381fb9c07940741a6df3b26a3e94aa70 Mon Sep 17 00:00:00 2001 From: Robert Peichaer Date: Sun, 4 Sep 2016 09:54:23 +0000 Subject: 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 --- distrib/luna88k/ramdisk/list | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'distrib/luna88k') diff --git a/distrib/luna88k/ramdisk/list b/distrib/luna88k/ramdisk/list index d01bcb4a9af..6d919a345d6 100644 --- a/distrib/luna88k/ramdisk/list +++ b/distrib/luna88k/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.34 2016/09/03 10:57:11 rpe Exp $ +# $OpenBSD: list,v 1.35 2016/09/04 09:54:22 rpe Exp $ SRCDIRS distrib/special @@ -68,9 +68,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 usr/share/misc/termcap # and the installation tools -- cgit v1.2.3