Searched refs:ancestor (Results 1 – 2 of 2) sorted by relevance
386 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local403 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()
1220 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument1224 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()1226 return (ns == ancestor); in in_userns()