Merge pull request #1655 from Mashimiao/add-propagation-more

support unbindable,runbindable for rootfs propagation
This commit is contained in:
Mrunal Patel 2017-12-11 09:21:41 -08:00 committed by GitHub
commit b028413c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -37,6 +37,8 @@ var mountPropagationMapping = map[string]int{
"slave": unix.MS_SLAVE,
"rshared": unix.MS_SHARED | unix.MS_REC,
"shared": unix.MS_SHARED,
"runbindable": unix.MS_UNBINDABLE | unix.MS_REC,
"unbindable": unix.MS_UNBINDABLE,
"": 0,
}