Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Duser_namespace.h135 extern bool in_userns(const struct user_namespace *ancestor,
168 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() function
/Linux-v5.4/kernel/
Dpid_namespace.c87 if (!in_userns(parent_pid_ns->user_ns, user_ns)) in create_pid_namespace()
Duser_namespace.c1220 bool in_userns(const struct user_namespace *ancestor, in in_userns() function
1231 return in_userns(target_ns, current_user_ns()); in current_in_userns()