Home
last modified time | relevance | path

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

/linux-6.12.1/security/
Ddevice_cgroup.c177 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()
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
565 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception()
575 devcg->behavior == DEVCG_DEFAULT_ALLOW) { in propagate_exception()
576 rc = dev_exception_add(devcg, ex); in propagate_exception()
[all …]