Home
last modified time | relevance | path

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

/Linux-v5.10/security/
Ddevice_cgroup.c271 struct dev_cgroup *devcgroup = css_to_devcgroup(seq_css(m)); in devcgroup_seq_show() local
282 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
289 list_for_each_entry_rcu(ex, &devcgroup->exceptions, list) { in devcgroup_seq_show()
598 static int devcgroup_update_access(struct dev_cgroup *devcgroup, in devcgroup_update_access() argument
605 struct dev_cgroup *parent = css_to_devcgroup(devcgroup->css.parent); in devcgroup_update_access()
617 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()
622 dev_exception_clean(devcgroup); in devcgroup_update_access()
623 devcgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_update_access()
627 rc = dev_exceptions_copy(&devcgroup->exceptions, in devcgroup_update_access()
633 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()
[all …]