Home
last modified time | relevance | path

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

/kernel/
Dpid_namespace.c386 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
403 ancestor = new; in pidns_install()
404 while (ancestor->level > active->level) in pidns_install()
405 ancestor = ancestor->parent; in pidns_install()
406 if (ancestor != active) in pidns_install()
Duser_namespace.c1220 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1224 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1226 return (ns == ancestor); in in_userns()