Explorar o código

pkg/mount: Add "private" flag

This allows "mount --make-private" functionallity.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
Alexander Larsson %!s(int64=11) %!d(string=hai) anos
pai
achega
fc1169a220
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      pkg/mount/flags_linux.go

+ 1 - 0
pkg/mount/flags_linux.go

@@ -38,6 +38,7 @@ func parseOptions(options string) (int, string) {
 		"nodiratime":    {false, syscall.MS_NODIRATIME},
 		"bind":          {false, syscall.MS_BIND},
 		"rbind":         {false, syscall.MS_BIND | syscall.MS_REC},
+		"private":       {false, syscall.MS_PRIVATE},
 		"relatime":      {false, syscall.MS_RELATIME},
 		"norelatime":    {true, syscall.MS_RELATIME},
 		"strictatime":   {false, syscall.MS_STRICTATIME},