• Home
  • Raw
  • Download

Lines Matching refs:r

156 void tomoyo_check_acl(struct tomoyo_request_info *r,  in tomoyo_check_acl()  argument
160 const struct tomoyo_domain_info *domain = r->domain; in tomoyo_check_acl()
167 if (ptr->is_deleted || ptr->type != r->param_type) in tomoyo_check_acl()
169 if (!check_entry(r, ptr)) in tomoyo_check_acl()
171 if (!tomoyo_condition(r, ptr->cond)) in tomoyo_check_acl()
173 r->matched_acl = ptr; in tomoyo_check_acl()
174 r->granted = true; in tomoyo_check_acl()
182 r->granted = false; in tomoyo_check_acl()
568 struct tomoyo_request_info r; in tomoyo_assign_domain() local
569 tomoyo_init_request_info(&r, entry, in tomoyo_assign_domain()
571 r.granted = false; in tomoyo_assign_domain()
572 tomoyo_write_log(&r, "use_profile %u\n", in tomoyo_assign_domain()
574 tomoyo_write_log(&r, "use_group %u\n", entry->group); in tomoyo_assign_domain()
590 struct tomoyo_request_info *r = &ee->r; in tomoyo_environ() local
602 ee->r.type = TOMOYO_MAC_ENVIRON; in tomoyo_environ()
603 ee->r.profile = r->domain->profile; in tomoyo_environ()
604 ee->r.mode = tomoyo_get_mode(r->domain->ns, ee->r.profile, in tomoyo_environ()
606 if (!r->mode || !envp_count) in tomoyo_environ()
647 if (tomoyo_env_perm(r, arg_ptr)) { in tomoyo_environ()
660 if (r->mode != TOMOYO_CONFIG_ENFORCING) in tomoyo_environ()
695 tomoyo_init_request_info(&ee->r, NULL, TOMOYO_MAC_FILE_EXECUTE); in tomoyo_find_next_domain()
696 ee->r.ee = ee; in tomoyo_find_next_domain()
698 ee->r.obj = &ee->obj; in tomoyo_find_next_domain()
725 retval = tomoyo_execute_permission(&ee->r, candidate); in tomoyo_find_next_domain()
736 if (ee->r.param.path.matched_path) in tomoyo_find_next_domain()
737 candidate = ee->r.param.path.matched_path; in tomoyo_find_next_domain()
825 } else if (ee->r.mode == TOMOYO_CONFIG_ENFORCING) in tomoyo_find_next_domain()
831 ee->r.granted = false; in tomoyo_find_next_domain()
832 tomoyo_write_log(&ee->r, "%s", tomoyo_dif in tomoyo_find_next_domain()
846 ee->r.domain = domain; in tomoyo_find_next_domain()