Lines Matching refs:profile
175 struct aa_profile *profile;
178 label_for_each_confined(i, label, profile) {
180 if (COMPLAIN_MODE(profile))
182 rules = list_first_entry(&profile->rules,
625 static int profile_uring(struct aa_profile *profile, u32 request,
633 AA_BUG(!profile);
635 rules = list_first_entry(&profile->rules, typeof(*rules), list);
641 aa_label_match(profile, rules, new, state,
646 aa_apply_modes_to_perms(profile, &perms);
647 error = aa_check_perms(profile, &perms, request, ad,
663 struct aa_profile *profile;
671 error = fn_for_each(label, profile,
672 profile_uring(profile, AA_MAY_OVERRIDE_CRED,
687 struct aa_profile *profile;
694 error = fn_for_each(label, profile,
695 profile_uring(profile, AA_MAY_CREATE_SQPOLL,
959 /* bail out if unconfined or not changing profile */
1042 struct aa_profile *profile;
1051 error = fn_for_each(label, profile,
1052 aa_profile_ns_perm(profile, &ad,
1962 * set_init_ctx - set a task context and profile on the first task.
1964 * TODO: allow setting an alternate profile than unconfined
2229 AA_ERROR("Unable to allocate default profile namespace\n");