mirror of https://github.com/containers/podman.git
Merge pull request #6957 from rhatdan/sysdev
Mask out /sys/dev to prevent information leak from the host
This commit is contained in:
commit
c4843d4e9c
|
@ -150,6 +150,7 @@ func BlockAccessToKernelFilesystems(privileged, pidModeIsHost bool, g *generate.
|
||||||
"/proc/scsi",
|
"/proc/scsi",
|
||||||
"/sys/firmware",
|
"/sys/firmware",
|
||||||
"/sys/fs/selinux",
|
"/sys/fs/selinux",
|
||||||
|
"/sys/dev",
|
||||||
} {
|
} {
|
||||||
g.AddLinuxMaskedPaths(mp)
|
g.AddLinuxMaskedPaths(mp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue