summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkdep
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-01-27 00:10:53 +0000
committerwosch <wosch@FreeBSD.org>1997-01-27 00:10:53 +0000
commitf9f02322a95746ada2171b9352607eb3173c8151 (patch)
tree0f16d29066176be60bf47b516842a9bc2c2b5908 /usr.bin/mkdep
parent3306642b2ad9482d3c57b2bc07a95c051c841084 (diff)
downloadFreeBSD-src-f9f02322a95746ada2171b9352607eb3173c8151.zip
FreeBSD-src-f9f02322a95746ada2171b9352607eb3173c8151.tar.gz
Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security problems due the evil Berkeleian symlinks.
Diffstat (limited to 'usr.bin/mkdep')
-rw-r--r--usr.bin/mkdep/mkdep.gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh
index e925bed..d822149 100644
--- a/usr.bin/mkdep/mkdep.gcc.sh
+++ b/usr.bin/mkdep/mkdep.gcc.sh
@@ -67,7 +67,7 @@ case $# in 0)
exit 1;;
esac
-TMP=/tmp/mkdep$$
+TMP=_mkdep$$
trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
trap 'rm -f $TMP' 0
OpenPOWER on IntegriCloud