Merge pull request from chenchun/fix_valid_dest

It's /proc/stat, not /proc/stats
This commit is contained in:
Mrunal Patel 2016-02-16 17:44:14 +05:30
commit e898a30e34
1 changed files with 2 additions and 1 deletions
libcontainer

View File

@ -308,7 +308,8 @@ func checkMountDestination(rootfs, dest string) error {
"/proc/cpuinfo",
"/proc/diskstats",
"/proc/meminfo",
"/proc/stats",
"/proc/stat",
"/proc/net/dev",
}
for _, valid := range validDestinations {
path, err := filepath.Rel(filepath.Join(rootfs, valid), dest)