aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-30 12:19:02 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-30 12:19:02 +0000
commitb892f82b8ed02952f39c6b945a4d1936ce215ab3 (patch)
tree9dca00c53a25ccefb052403573cf8356d8c01ff8
parent0e1acfb131d62064355070faeaee736c76cd55ec (diff)
downloadmsec-b892f82b8ed02952f39c6b945a4d1936ce215ab3.tar
msec-b892f82b8ed02952f39c6b945a4d1936ce215ab3.tar.gz
msec-b892f82b8ed02952f39c6b945a4d1936ce215ab3.tar.bz2
msec-b892f82b8ed02952f39c6b945a4d1936ce215ab3.tar.xz
msec-b892f82b8ed02952f39c6b945a4d1936ce215ab3.zip
blacklist cifs instead of only smbfs for samba
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index c090b94..2ada1bc 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -75,7 +75,7 @@ export EXCLUDE_REGEXP
# Modified filters coming from debian security scripts.
# rootfs is not listed among excluded types, because
# / is mounted twice, and filtering it would mess with excluded dir list
-TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda)'
+TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|rpc_pipefs|securityfs|auto|proc|msdos|fat|vfat|iso9660|ncpfs|smbfs|hfs|nfs|afs|coda|cifs)'
MOUNTPOINT_FILTER='^\/mnt|^\/media'
DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \
{print $2}' /proc/mounts | uniq`