mirror of
https://github.com/containers/podman.git
synced 2025-07-17 17:43:23 +08:00
Mask out /sys/dev to prevent information leak from the host
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user