Lines Matching refs:target
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()
668 const char *info = NULL, *name = NULL, *target = NULL; in profile_transition() local
707 OP_EXEC, MAY_EXEC, name, target, new, cond->uid, in profile_transition()
722 new = x_to_label(profile, bprm, name, perms.xindex, &target, in profile_transition()
782 target, new, in profile_transition()
1225 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat() local
1297 target = new; in aa_change_hat()
1319 target = previous; in aa_change_hat()
1343 AA_MAY_CHANGEHAT, NULL, NULL, target, in aa_change_hat()
1353 struct aa_label *target, bool stack, in change_profile_perms_wrapper() argument
1361 error = change_profile_perms(profile, target, stack, request, in change_profile_perms_wrapper()
1367 NULL, target, GLOBAL_ROOT_UID, info, in change_profile_perms_wrapper()
1390 struct aa_label *label, *new = NULL, *target = NULL; in aa_change_profile() local
1451 request, auditname, NULL, target, in aa_change_profile()
1461 target = aa_label_parse(label, fqname, GFP_KERNEL, true, false); in aa_change_profile()
1462 if (IS_ERR(target)) { in aa_change_profile()
1466 error = PTR_ERR(target); in aa_change_profile()
1467 target = NULL; in aa_change_profile()
1483 target = &tprofile->label; in aa_change_profile()
1498 profile, target, stack, in aa_change_profile()
1508 error = may_change_ptraced_domain(subj_cred, target, &info); in aa_change_profile()
1526 aa_get_label(target), in aa_change_profile()
1545 new = aa_label_merge(label, target, GFP_KERNEL); in aa_change_profile()
1564 aa_set_current_onexec(target, stack); in aa_change_profile()
1571 NULL, new ? new : target, in aa_change_profile()
1576 aa_put_label(target); in aa_change_profile()