mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
checkProcMount: add /proc/slabinfo to whitelist
With lxcfs commit, slabinfo should can be mounted: "proc_fuse: add /proc/slabinfo with slab accounting memcg" https://github.com/lxc/lxcfs/commit/1cc68c8bfa Signed-off-by: Feng Sun <loyou85@gmail.com>
This commit is contained in:
@@ -493,6 +493,7 @@ func checkProcMount(rootfs, dest, source string) error {
|
||||
"/proc/swaps",
|
||||
"/proc/uptime",
|
||||
"/proc/loadavg",
|
||||
"/proc/slabinfo",
|
||||
"/proc/net/dev",
|
||||
}
|
||||
for _, valid := range validDestinations {
|
||||
|
||||
Reference in New Issue
Block a user