summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-08-03 22:33:34 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-08-03 22:33:34 +0000
commit8cc0839b134c422ecc8ab8449ce6badd3bc0f792 (patch)
treeec6b23a03b3c55781fd9c89f1a045a3714c6bbc1 /usr.bin
parent17a175bb0bc302999aafb0cd3c63aed4fe174b84 (diff)
downloadFreeBSD-src-8cc0839b134c422ecc8ab8449ce6badd3bc0f792.zip
FreeBSD-src-8cc0839b134c422ecc8ab8449ce6badd3bc0f792.tar.gz
If all file systems are marked nosuid, the line:
MP=`mount -t ufs | grep -v " nosuid" | awk '{ print $3 }' | sort` sets ${MP} to an empty string so the next line: set ${MP} actually just dumps all of the shells variables to stdout (and therefore the security report). Fixed by surrounding the code which goes through the mounts with a test for an empty string before using ${MP}. Reviewed by: brian MFC after: 3 days
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud