Lines Matching defs:target
271 * @target: label to transition to (NOT NULL)
283 struct aa_label *target, bool stack,
294 return label_match(profile, target, stack, start, true, request, perms);
549 * x_to_label - get target label for a given xindex
638 const char *info = NULL, *name = NULL, *target = NULL;
676 new = x_to_label(profile, bprm, name, perms.xindex, &target,
721 target, new,
859 "failed to build target label", -ENOMEM));
1022 info = "conflicting target types";
1097 info = "target not hat";
1129 * no target as it has failed to be found or built
1179 struct aa_label *label, *previous, *new = NULL, *target = NULL;
1216 /* target cred is the same as current except new label */
1236 target = new;
1257 target = previous;
1281 AA_MAY_CHANGEHAT, NULL, NULL, target,
1291 struct aa_label *target, bool stack,
1300 error = change_profile_perms(profile, target, stack, request,
1306 NULL, target, GLOBAL_ROOT_UID, info,
1327 struct aa_label *label, *new = NULL, *target = NULL;
1376 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false);
1377 if (IS_ERR(target)) {
1381 error = PTR_ERR(target);
1382 target = NULL;
1398 target = &tprofile->label;
1413 profile, target, stack,
1422 /* check if tracing task is allowed to trace target domain */
1423 error = may_change_ptraced_domain(subj_cred, target, &info);
1441 aa_get_label(target),
1459 new = aa_label_merge(label, target, GFP_KERNEL);
1461 info = "failed to build target label";
1478 error = aa_set_current_onexec(target, stack);
1485 NULL, new ? new : target,
1490 aa_put_label(target);