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:
Feng Sun
2020-12-11 12:22:04 +08:00
parent 544048b865
commit 48b8eb0952
+1
View File
@@ -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 {