Searched refs:devcg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/security/ |
H A D | device_cgroup.c | 176 static inline bool is_devcg_online(const struct dev_cgroup *devcg) in is_devcg_online() argument 178 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online() 521 * @devcg: cgroup which exceptions will be checked 528 static void revalidate_active_exceptions(struct dev_cgroup *devcg) in revalidate_active_exceptions() argument 533 list_for_each_safe(this, tmp, &devcg->exceptions) { in revalidate_active_exceptions() 535 if (!parent_has_perm(devcg, ex)) in revalidate_active_exceptions() 536 dev_exception_rm(devcg, ex); in revalidate_active_exceptions() 556 struct dev_cgroup *devcg = css_to_devcgroup(pos); in propagate_exception() local 559 * Because devcgroup_mutex is held, no devcg will become in propagate_exception() 564 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception() [all...] |
/kernel/linux/linux-6.6/security/ |
H A D | device_cgroup.c | 177 static inline bool is_devcg_online(const struct dev_cgroup *devcg) in is_devcg_online() argument 179 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online() 522 * @devcg: cgroup which exceptions will be checked 529 static void revalidate_active_exceptions(struct dev_cgroup *devcg) in revalidate_active_exceptions() argument 534 list_for_each_safe(this, tmp, &devcg->exceptions) { in revalidate_active_exceptions() 536 if (!parent_has_perm(devcg, ex)) in revalidate_active_exceptions() 537 dev_exception_rm(devcg, ex); in revalidate_active_exceptions() 557 struct dev_cgroup *devcg = css_to_devcgroup(pos); in propagate_exception() local 560 * Because devcgroup_mutex is held, no devcg will become in propagate_exception() 565 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception() [all...] |
Completed in 4 milliseconds