support unbindable,runbindable for rootfs propagation

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
Ma Shimiao 2017-11-17 16:10:38 +08:00
parent fb6ec65b36
commit 17db6560be
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,
}