summaryrefslogtreecommitdiffstats
path: root/etc/periodic/security/550.ipfwlimit
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-17 11:34:12 +0000
committerbrian <brian@FreeBSD.org>2002-05-17 11:34:12 +0000
commite0e62927affbd6970819409158a8811691e0eca5 (patch)
tree0cf2a881667630155e3c937697129994fadac661 /etc/periodic/security/550.ipfwlimit
parent4068215add3aa94489f98bcedd0e8eaa8f92752c (diff)
downloadFreeBSD-src-e0e62927affbd6970819409158a8811691e0eca5.zip
FreeBSD-src-e0e62927affbd6970819409158a8811691e0eca5.tar.gz
Tighten up temporary file permissions and move them to ${TMPDIR:-/tmp}
Problem reported by: lumpy <lumpy@the.whole.net> MFC after: 3 days
Diffstat (limited to 'etc/periodic/security/550.ipfwlimit')
-rwxr-xr-xetc/periodic/security/550.ipfwlimit2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/security/550.ipfwlimit b/etc/periodic/security/550.ipfwlimit
index cb6caaf..3d54331 100755
--- a/etc/periodic/security/550.ipfwlimit
+++ b/etc/periodic/security/550.ipfwlimit
@@ -38,7 +38,7 @@ then
source_periodic_confs
fi
-TMP=/var/run/_secure.$$
+TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
rc=0
case "$daily_status_security_ipfwlimit_enable" in
OpenPOWER on IntegriCloud