Lines Matching refs:stack
101 bool stack, unsigned int state) in match_component() argument
105 if (stack) in match_component()
135 struct aa_label *label, bool stack, in label_compound_match() argument
147 state = match_component(profile, tp, stack, state); in label_compound_match()
195 struct aa_label *label, bool stack, in label_components_match() argument
209 state = match_component(profile, tp, stack, start); in label_components_match()
225 state = match_component(profile, tp, stack, start); in label_components_match()
256 bool stack, unsigned int state, bool subns, u32 request, in label_match() argument
262 error = label_compound_match(profile, label, stack, state, subns, in label_match()
268 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()
566 const char *stack = NULL; in x_to_label() local
575 stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; in x_to_label()
576 if (*stack != '&') { in x_to_label()
579 stack = NULL; in x_to_label()
610 if (new && stack) { in x_to_label()
614 new = aa_label_parse(base, stack, GFP_KERNEL, true, false); in x_to_label()
723 bool stack, const struct linux_binprm *bprm, in profile_onexec() argument
770 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
795 struct aa_label *onexec, bool stack, in handle_onexec() argument
809 if (!stack) { in handle_onexec()
811 profile_onexec(profile, onexec, stack, in handle_onexec()
823 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
1263 struct aa_label *target, bool stack, in change_profile_perms_wrapper() argument
1270 error = change_profile_perms(profile, target, stack, request, in change_profile_perms_wrapper()
1301 bool stack = flags & AA_CHANGE_STACK; in aa_change_profile() local
1327 if (stack) in aa_change_profile()
1333 if (stack) in aa_change_profile()
1340 stack = true; in aa_change_profile()
1380 profile, target, stack, in aa_change_profile()
1406 if (!stack) { in aa_change_profile()
1425 if (stack) in aa_change_profile()
1445 error = aa_set_current_onexec(target, stack); in aa_change_profile()