checkMountDesktionation: add swaps and uptime to /proc whitelist
Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
parent
ae7a92e352
commit
52a8873f62
|
@ -320,6 +320,8 @@ func checkMountDestination(rootfs, dest string) error {
|
|||
"/proc/diskstats",
|
||||
"/proc/meminfo",
|
||||
"/proc/stat",
|
||||
"/proc/swaps",
|
||||
"/proc/uptime",
|
||||
"/proc/net/dev",
|
||||
}
|
||||
for _, valid := range validDestinations {
|
||||
|
|
Loading…
Reference in New Issue