Lines Matching defs:target
275 * @target: label to transition to (NOT NULL)
287 struct aa_label *target, bool stack,
298 return label_match(profile, target, stack, start, true, request, perms);
544 * x_to_label - get target label for a given xindex
628 const char *info = NULL, *name = NULL, *target = NULL;
666 new = x_to_label(profile, bprm, name, perms.xindex, &target,
710 aa_audit_file(profile, &perms, OP_EXEC, MAY_EXEC, name, target, new,
840 "failed to build target label", -ENOMEM));
997 info = "conflicting target types";
1070 info = "target not hat";
1102 * no target as it has failed to be found or built
1150 struct aa_label *label, *previous, *new = NULL, *target = NULL;
1206 target = new;
1227 target = previous;
1251 AA_MAY_CHANGEHAT, NULL, NULL, target,
1260 struct aa_label *target, bool stack,
1267 error = change_profile_perms(profile, target, stack, request,
1271 NULL, target, GLOBAL_ROOT_UID, info,
1293 struct aa_label *label, *new = NULL, *target = NULL;
1341 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false);
1342 if (IS_ERR(target)) {
1346 error = PTR_ERR(target);
1347 target = NULL;
1363 target = &tprofile->label;
1377 profile, target, stack,
1386 /* check if tracing task is allowed to trace target domain */
1387 error = may_change_ptraced_domain(target, &info);
1405 aa_get_label(target),
1423 new = aa_label_merge(label, target, GFP_KERNEL);
1425 info = "failed to build target label";
1442 error = aa_set_current_onexec(target, stack);
1448 NULL, new ? new : target,
1453 aa_put_label(target);