Skip to content

Commit 784b601

Browse files
Merge pull request opencontainers#1882 from accepting/dev
libcontainer: add /proc/loadavg to the white list of bind mount
2 parents fdd8055 + 3ce8fac commit 784b601

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)