Lines Matching defs:stack
89 bool stack, aa_state_t state)
95 if (stack)
112 * @stack: whether this is a stacking request
125 struct aa_label *label, bool stack,
139 state = match_component(profile, tp, stack, state);
174 * @stack: whether this is a stacking request
187 struct aa_label *label, bool stack,
203 state = match_component(profile, tp, stack, start);
219 state = match_component(profile, tp, stack, start);
241 * @stack: whether this is a stacking request
250 bool stack, aa_state_t state, bool subns, u32 request,
256 error = label_compound_match(profile, label, stack, state, subns,
262 return label_components_match(profile, label, stack, state, subns,
272 * @stack: whether this is a stacking request
283 struct aa_label *target, bool stack,
294 return label_match(profile, target, stack, start, true, request, perms);
571 const char *stack = NULL;
580 stack = rules->file.trans.table[xindex & AA_X_INDEX_MASK];
581 if (*stack != '&') {
584 stack = NULL;
615 if (new && stack) {
616 /* base the stack on post domain transition */
619 new = aa_label_parse(base, stack, GFP_KERNEL, true, false);
733 bool stack, const struct linux_binprm *bprm,
782 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC,
809 struct aa_label *onexec, bool stack,
823 if (!stack) {
825 profile_onexec(subj_cred, profile, onexec, stack,
838 profile_onexec(subj_cred, profile, onexec, stack, bprm,
1291 struct aa_label *target, bool stack,
1300 error = change_profile_perms(profile, target, stack, request,
1331 const char *auditname = fqname; /* retain leading & if stack */
1332 bool stack = flags & AA_CHANGE_STACK;
1359 if (stack)
1365 if (stack)
1372 stack = true;
1408 * if (!stack) {
1413 profile, target, stack,
1439 if (!stack) {
1458 if (stack)
1478 error = aa_set_current_onexec(target, stack);