1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

Also check setuid executables on ZFS.

This commit is contained in:
Ruslan Ermilov 2007-11-23 13:00:31 +00:00
parent 115cadfd60
commit 5f3a6945d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173873

View File

@ -44,7 +44,7 @@ case "$daily_status_security_chksetuid_enable" in
echo "" echo ""
echo 'Checking setuid files and devices:' echo 'Checking setuid files and devices:'
# XXX Note that there is the possibility of overrunning the args to ls # XXX Note that there is the possibility of overrunning the args to ls
MP=`mount -t ufs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | sort` MP=`mount -t ufs,zfs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | sort`
if [ -n "${MP}" ] if [ -n "${MP}" ]
then then
set ${MP} set ${MP}