aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2008-01-10 20:30:04 +0000
committerAndreas Hasenack <andreas@mandriva.com>2008-01-10 20:30:04 +0000
commitac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30 (patch)
treee86b8dc2fd704b71ceb8787553c99d91b92a78df
parentb07d29fb97227bbea07da04422ca0e9451660d14 (diff)
downloadmsec-ac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30.tar
msec-ac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30.tar.gz
msec-ac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30.tar.bz2
msec-ac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30.tar.xz
msec-ac42b24d516f65cf2efeed5eb6fe87bcf8fb9d30.zip
- include rpc_pipefs and securityfs in the list of filesystems that should
be skipped for msec_find
-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 e0671de..5048b58 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|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)'
MOUNTPOINT_FILTER='^\/mnt'
DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \
{print $2}' /proc/mounts | uniq`