Lines Matching refs:mode
201 r->param.mkdev.mode, r->param.mkdev.major, in tomoyo_audit_mkdev_log()
323 tomoyo_compare_number_union(r->param.mkdev.mode, in tomoyo_check_mkdev_acl()
324 &acl->mode) && in tomoyo_check_mkdev_acl()
420 tomoyo_same_number_union(&p1->mode, &p2->mode) && in tomoyo_same_mkdev_acl()
472 !tomoyo_parse_number_union(param, &e.mode) || in tomoyo_update_mkdev_acl()
481 tomoyo_put_number_union(&e.mode); in tomoyo_update_mkdev_acl()
579 r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); in tomoyo_path_permission()
580 if (r->mode == TOMOYO_CONFIG_DISABLED) in tomoyo_path_permission()
611 r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); in tomoyo_execute_permission()
618 if (r->mode != TOMOYO_CONFIG_DISABLED) in tomoyo_execute_permission()
739 if (r.mode != TOMOYO_CONFIG_ENFORCING) in tomoyo_path_number_perm()
766 r.mode = TOMOYO_CONFIG_DISABLED; in tomoyo_check_open_permission()
788 if (r.mode != TOMOYO_CONFIG_ENFORCING) in tomoyo_check_open_permission()
818 is_enforce = (r.mode == TOMOYO_CONFIG_ENFORCING); in tomoyo_path_perm()
860 const unsigned int mode, unsigned int dev) in tomoyo_mkdev_perm() argument
881 r.param.mkdev.mode = mode; in tomoyo_mkdev_perm()
889 if (r.mode != TOMOYO_CONFIG_ENFORCING) in tomoyo_mkdev_perm()
949 if (r.mode != TOMOYO_CONFIG_ENFORCING) in tomoyo_path2_perm()