From 3bd17c7ece98315eb32144504d99c5ca6dcb603a Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sat, 23 Apr 2011 19:35:53 +0000 Subject: [PATCH] Even though SUIDSKIP used to be a mere shell variable, it was propagated to the old /etc/security script because daily sourced it. Now we fork and exec, so SUIDSKIP must be promoted to the environment. Problem reported, fix tested and ok weerd@. --- src/etc/daily | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/daily b/src/etc/daily index 941d1f0d..bd9e5355 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.70 2011/04/17 21:26:38 schwarze Exp $ +# $OpenBSD: daily,v 1.71 2011/04/23 19:35:53 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -193,6 +193,7 @@ MAINOUT=/var/log/security.out install -o 0 -g 0 -m 600 -b /dev/null $MAINOUT start_part "Running security(8):" +export SUIDSKIP /usr/libexec/security end_part rm -f $PARTOUT