Skip to content

Commit 3ce8fac

Browse files
author
ChangFeng
committed
libcontainer: add /proc/loadavg to the white list of bind mount
Signed-off-by: JunLi <[email protected]>
1 parent 1555a78 commit 3ce8fac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcontainer/rootfs_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ func checkMountDestination(rootfs, dest string) error {
421421
"/proc/stat",
422422
"/proc/swaps",
423423
"/proc/uptime",
424+
"/proc/loadavg",
424425
"/proc/net/dev",
425426
}
426427
for _, valid := range validDestinations {

0 commit comments

Comments
 (0)