Lines Matching refs:stack

103 					   bool stack, unsigned int state)  in match_component()  argument
107 if (stack) in match_component()
137 struct aa_label *label, bool stack, in label_compound_match() argument
149 state = match_component(profile, tp, stack, state); in label_compound_match()
197 struct aa_label *label, bool stack, in label_components_match() argument
211 state = match_component(profile, tp, stack, start); in label_components_match()
227 state = match_component(profile, tp, stack, start); in label_components_match()
258 bool stack, unsigned int state, bool subns, u32 request, in label_match() argument
264 error = label_compound_match(profile, label, stack, state, subns, in label_match()
270 return label_components_match(profile, label, stack, state, subns, in label_match()
291 struct aa_label *target, bool stack, in change_profile_perms() argument
302 return label_match(profile, target, stack, start, true, request, perms); in change_profile_perms()
559 const char *stack = NULL; in x_to_label() local
568 stack = profile->file.trans.table[xindex & AA_X_INDEX_MASK]; in x_to_label()
569 if (*stack != '&') { in x_to_label()
572 stack = NULL; in x_to_label()
603 if (new && stack) { in x_to_label()
607 new = aa_label_parse(base, stack, GFP_ATOMIC, true, false); in x_to_label()
744 bool stack, const struct linux_binprm *bprm, in profile_onexec() argument
791 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
816 struct aa_label *onexec, bool stack, in handle_onexec() argument
830 if (!stack) { in handle_onexec()
832 profile_onexec(profile, onexec, stack, in handle_onexec()
844 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
1280 struct aa_label *target, bool stack, in change_profile_perms_wrapper() argument
1287 error = change_profile_perms(profile, target, stack, request, in change_profile_perms_wrapper()
1318 bool stack = flags & AA_CHANGE_STACK; in aa_change_profile() local
1343 if (stack) in aa_change_profile()
1349 if (stack) in aa_change_profile()
1358 stack = true; in aa_change_profile()
1398 profile, target, stack, in aa_change_profile()
1424 if (!stack) { in aa_change_profile()
1443 if (stack) in aa_change_profile()
1460 error = aa_set_current_onexec(target, stack); in aa_change_profile()