summaryrefslogtreecommitdiff
path: root/distrib/alpha
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2016-09-04 09:52:04 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2016-09-04 09:52:04 +0000
commit886104b9371e122d66858ab86a3bc4e6cc5206db (patch)
tree92181adf9afd6c133eff703c1b012ac31cdfd776 /distrib/alpha
parent39e44fa02d1b9b72516cf71ebd2f377c7bac55ad (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/alpha')
-rw-r--r--distrib/alpha/common/install.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/alpha/common/install.md b/distrib/alpha/common/install.md
index f751ca84400..9b3c7fe19af 100644
--- a/distrib/alpha/common/install.md
+++ b/distrib/alpha/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.42 2016/02/08 17:28:08 krw Exp $
+# $OpenBSD: install.md,v 1.43 2016/09/04 09:52:03 rpe Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -43,7 +43,7 @@ md_installboot() {
}
md_prep_disklabel() {
- local _disk=$1 _f=/tmp/fstab.$1
+ local _disk=$1 _f=/tmp/i/fstab.$1
disklabel_autolayout $_disk $_f || return
[[ -s $_f ]] && return