Mageia Bugzilla – Attachment 12036 Details for
Bug 27690
msec searches inaproriate directories and mount points
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to add ^\/run to MOUNTPOINT_FILTER
functions.sh.patch (text/plain), 674 bytes, created by
Dave Hodgins
on 2020-11-30 10:52:01 CET
(
hide
)
Description:
Patch to add ^\/run to MOUNTPOINT_FILTER
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2020-11-30 10:52:01 CET
Size:
674 bytes
patch
obsolete
>--- /usr/share/msec/functions.sh.original 2020-06-06 02:01:08.000000000 -0400 >+++ /usr/share/msec/functions.sh 2020-11-30 04:47:26.012624928 -0500 >@@ -28,7 +28,7 @@ > # 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|cifs|fuse.gvfs-fuse-daemon|vmblock)' >-MOUNTPOINT_FILTER='^\/mnt|^\/media' >+MOUNTPOINT_FILTER='^\/mnt|^\/media|^\/run' > DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \ > {print $2}' /proc/mounts | uniq` > PRINT="%h/%f\n"
--- /usr/share/msec/functions.sh.original 2020-06-06 02:01:08.000000000 -0400 +++ /usr/share/msec/functions.sh 2020-11-30 04:47:26.012624928 -0500 @@ -28,7 +28,7 @@ # 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|cifs|fuse.gvfs-fuse-daemon|vmblock)' -MOUNTPOINT_FILTER='^\/mnt|^\/media' +MOUNTPOINT_FILTER='^\/mnt|^\/media|^\/run' DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \ {print $2}' /proc/mounts | uniq` PRINT="%h/%f\n"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27690
:
12033
|
12034
|
12036
|
12042