Lines Matching defs:child
27 * @child: Potential child of @parent.
30 * means a subset of) the @child domain.
33 const struct landlock_ruleset *const child)
39 if (!child)
41 for (walker = child->hierarchy; walker; walker = walker->parent) {
43 /* @parent is in the scoped hierarchy of @child. */
46 /* There is no relationship between @parent and @child. */
51 const struct task_struct *const child)
58 dom_child = landlock_get_task_domain(child);
65 const struct task_struct *const child)
70 if (task_is_scoped(parent, child))
79 * @child: Process to be accessed.
82 * If the current task has Landlock rules, then the child must have at least
88 static int hook_ptrace_access_check(struct task_struct *const child,
91 return task_ptrace(current, child);