Ignore mountpoints under /run (#2157)

* Exclude mountpoints under /run/credentials

Signed-off-by: ml <ml@visu.li>
This commit is contained in:
ml 2021-10-27 13:53:26 +02:00 committed by GitHub
parent 421fc429f3
commit 094ee24ad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ import (
)
const (
defMountPointsExcluded = "^/(dev|proc|sys|var/lib/docker/.+)($|/)"
defMountPointsExcluded = "^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+)($|/)"
defFSTypesExcluded = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
)