mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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)
This commit is contained in:
parent
41c10fb256
commit
fc1169a220
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ func parseOptions(options string) (int, string) {
|
||||||
"nodiratime": {false, syscall.MS_NODIRATIME},
|
"nodiratime": {false, syscall.MS_NODIRATIME},
|
||||||
"bind": {false, syscall.MS_BIND},
|
"bind": {false, syscall.MS_BIND},
|
||||||
"rbind": {false, syscall.MS_BIND | syscall.MS_REC},
|
"rbind": {false, syscall.MS_BIND | syscall.MS_REC},
|
||||||
|
"private": {false, syscall.MS_PRIVATE},
|
||||||
"relatime": {false, syscall.MS_RELATIME},
|
"relatime": {false, syscall.MS_RELATIME},
|
||||||
"norelatime": {true, syscall.MS_RELATIME},
|
"norelatime": {true, syscall.MS_RELATIME},
|
||||||
"strictatime": {false, syscall.MS_STRICTATIME},
|
"strictatime": {false, syscall.MS_STRICTATIME},
|
||||||
|
|
Loading…
Reference in a new issue