|
@@ -2227,12 +2227,14 @@ static struct file_system_type cgroup_fs_type = {
|
|
.name = "cgroup",
|
|
.name = "cgroup",
|
|
.mount = cgroup_mount,
|
|
.mount = cgroup_mount,
|
|
.kill_sb = cgroup_kill_sb,
|
|
.kill_sb = cgroup_kill_sb,
|
|
|
|
+ .fs_flags = FS_USERNS_MOUNT,
|
|
};
|
|
};
|
|
|
|
|
|
static struct file_system_type cgroup2_fs_type = {
|
|
static struct file_system_type cgroup2_fs_type = {
|
|
.name = "cgroup2",
|
|
.name = "cgroup2",
|
|
.mount = cgroup_mount,
|
|
.mount = cgroup_mount,
|
|
.kill_sb = cgroup_kill_sb,
|
|
.kill_sb = cgroup_kill_sb,
|
|
|
|
+ .fs_flags = FS_USERNS_MOUNT,
|
|
};
|
|
};
|
|
|
|
|
|
static char *cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
|
|
static char *cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
|