From 48b8eb0952ed69ad4c1efb507c226ec224a9f718 Mon Sep 17 00:00:00 2001 From: Feng Sun Date: Fri, 11 Dec 2020 12:22:04 +0800 Subject: [PATCH] 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 --- libcontainer/rootfs_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libcontainer/rootfs_linux.go b/libcontainer/rootfs_linux.go index ad856bff9..f9902e85b 100644 --- a/libcontainer/rootfs_linux.go +++ b/libcontainer/rootfs_linux.go @@ -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 {