checkMountDesktionation: add swaps and uptime to /proc whitelist

Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
Serge Hallyn 2016-08-14 18:32:39 -05:00
parent ae7a92e352
commit 52a8873f62
1 changed files with 2 additions and 0 deletions

View File

@ -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 {