mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
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.
This commit is contained in:
parent
d80ace690d
commit
7f6f2e9466
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22024
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user