Merge pull request #985 from hallyn/whitelist

checkMountDesktionation: add swaps and uptime to /proc whitelist
This commit is contained in:
Michael Crosby 2016-08-15 09:42:23 -07:00 committed by GitHub
commit 12c3d17017
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 {