runc/libcontainer/configs
Vivek Goyal 5dd6caf6cf Replace config.Privatefs with config.RootPropagation
Right now config.Privatefs is a boolean which determines if / is applied
with propagation flag syscall.MS_PRIVATE | syscall.MS_REC or not.

Soon we want to represent other propagation states like private, [r]slave,
and [r]shared. So either we can introduce more boolean variable or keep
track of propagation flags in an integer variable. Keeping an integer
variable is more versatile and can allow various kind of propagation flags
to be specified. So replace Privatefs with RootPropagation which is an
integer.

Note, this will require changes in docker. Instead of setting Privatefs
to true, they will need to set.

config.RootPropagation = syscall.MS_PRIVATE | syscall.MS_REC
 
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2015-10-01 17:03:02 -04:00
..
validate Update import paths for new repository 2015-06-21 19:29:59 -07:00
cgroup.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
config.go Replace config.Privatefs with config.RootPropagation 2015-10-01 17:03:02 -04:00
config_test.go Remove deserialization tests. 2015-07-09 18:46:13 -04:00
config_unix.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
device.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
device_defaults.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
hugepage_limit.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
interface_priority_map.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
mount.go Move mount methods out of configs pkg 2015-09-24 09:43:12 -07:00
namespaces.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_syscall.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_syscall_unsupported.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_unix.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_windows.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
network.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00