• Home
  • Raw
  • Download

Lines Matching full:behavior

43 	enum devcg_behavior behavior;  member
165 return (devcg->behavior != DEVCG_DEFAULT_NONE); in is_devcg_online()
169 * devcgroup_online - initializes devcgroup's behavior and exceptions based on
183 dev_cgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_online()
188 dev_cgroup->behavior = parent_dev_cgroup->behavior; in devcgroup_online()
200 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_offline()
216 dev_cgroup->behavior = DEVCG_DEFAULT_NONE; in devcgroup_css_alloc()
280 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_seq_show()
384 * @behavior: behavior of the exception's dev_cgroup
391 enum devcg_behavior behavior) in verify_new_ex() argument
399 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
400 if (behavior == DEVCG_DEFAULT_ALLOW) { in verify_new_ex()
424 * Only behavior == DEVCG_DEFAULT_DENY allowed here, therefore in verify_new_ex()
454 return verify_new_ex(parent, ex, childcg->behavior); in parent_has_perm()
477 if (childcg->behavior == DEVCG_DEFAULT_DENY) in parent_allows_removal()
489 * may_allow_all - checks if it's possible to change the behavior to
498 return parent->behavior == DEVCG_DEFAULT_ALLOW; in may_allow_all()
504 * behavior and exceptions. The exceptions that
556 * in case both root's behavior and devcg is allow, a new in propagate_exception()
559 if (devcg_root->behavior == DEVCG_DEFAULT_ALLOW && in propagate_exception()
560 devcg->behavior == DEVCG_DEFAULT_ALLOW) { in propagate_exception()
567 * root's behavior: allow, devcg's: deny in propagate_exception()
568 * root's behavior: deny, devcg's: deny in propagate_exception()
620 devcgroup->behavior = DEVCG_DEFAULT_ALLOW; in devcgroup_update_access()
634 devcgroup->behavior = DEVCG_DEFAULT_DENY; in devcgroup_update_access()
721 if (devcgroup->behavior == DEVCG_DEFAULT_ALLOW) { in devcgroup_update_access()
739 if (devcgroup->behavior == DEVCG_DEFAULT_DENY) in devcgroup_update_access()
812 if (dev_cgroup->behavior == DEVCG_DEFAULT_ALLOW) in __devcgroup_check_permission()