Lines Matching refs:target
349 const char *name = NULL, *target = NULL, *info = NULL; in apparmor_bprm_set_creds() local
452 target = new_profile->base.hname; in apparmor_bprm_set_creds()
503 target = new_profile->base.hname; in apparmor_bprm_set_creds()
517 name, target, cond.uid, info, error); in apparmor_bprm_set_creds()
616 const char *target = NULL, *info = NULL; in aa_change_hat() local
673 target = name; in aa_change_hat()
683 target = hat->base.hname; in aa_change_hat()
711 target = previous_profile->base.hname; in aa_change_hat()
722 target, GLOBAL_ROOT_UID, info, error); in aa_change_hat()
751 struct aa_profile *profile, *target = NULL; in aa_change_profile() local
814 target = aa_lookup_profile(ns, hname); in aa_change_profile()
815 if (!target) { in aa_change_profile()
821 target = aa_new_null_profile(profile, 0); in aa_change_profile()
822 if (!target) { in aa_change_profile()
830 error = may_change_ptraced_domain(target); in aa_change_profile()
840 error = aa_set_current_onexec(target); in aa_change_profile()
842 error = aa_replace_current_profile(target); in aa_change_profile()
850 aa_put_profile(target); in aa_change_profile()