Lines Matching refs:stack
94 bool stack, aa_state_t state) in match_component() argument
99 if (stack) in match_component()
129 struct aa_label *label, bool stack, in label_compound_match() argument
142 state = match_component(profile, tp, stack, state); in label_compound_match()
191 struct aa_label *label, bool stack, in label_components_match() argument
206 state = match_component(profile, tp, stack, start); in label_components_match()
223 state = match_component(profile, tp, stack, start); in label_components_match()
255 bool stack, aa_state_t state, bool subns, u32 request, in label_match() argument
261 error = label_compound_match(profile, label, stack, state, subns, in label_match()
267 return label_components_match(profile, label, stack, state, subns, in label_match()
289 struct aa_label *target, bool stack, in change_profile_perms() argument
300 return label_match(profile, target, stack, start, true, request, perms); in change_profile_perms()
575 struct aa_label *stack = NULL; in x_to_label() local
594 stack = new; in x_to_label()
645 if (new && stack) { in x_to_label()
649 new = aa_label_merge(base, stack, GFP_KERNEL); in x_to_label()
654 aa_put_label(stack); in x_to_label()
794 bool stack, const struct linux_binprm *bprm, in profile_onexec() argument
842 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
869 struct aa_label *onexec, bool stack, in handle_onexec() argument
885 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec()
891 stack ? aa_label_merge(&profile->label, onexec, in handle_onexec()
1353 struct aa_label *target, bool stack, in change_profile_perms_wrapper() argument
1361 error = change_profile_perms(profile, target, stack, request, in change_profile_perms_wrapper()
1395 bool stack = flags & AA_CHANGE_STACK; in aa_change_profile() local
1422 if (stack) in aa_change_profile()
1428 if (stack) in aa_change_profile()
1437 if (!stack && unconfined(label) && in aa_change_profile()
1447 stack = true; in aa_change_profile()
1457 stack = true; in aa_change_profile()
1498 profile, target, stack, in aa_change_profile()
1524 if (!stack) { in aa_change_profile()
1544 if (stack) in aa_change_profile()
1564 aa_set_current_onexec(target, stack); in aa_change_profile()