Home
last modified time | relevance | path

Searched refs:parent_ns (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/kernel/
Duser_namespace.c71 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local
78 if (parent_ns->level > 32) in create_user_ns()
81 ucounts = inc_user_namespaces(parent_ns, owner); in create_user_ns()
100 if (!kuid_has_mapping(parent_ns, owner) || in create_user_ns()
101 !kgid_has_mapping(parent_ns, group)) in create_user_ns()
116 ns->parent = parent_ns; in create_user_ns()
117 ns->level = parent_ns->level + 1; in create_user_ns()
128 ns->flags = parent_ns->flags; in create_user_ns()