Lines Matching refs:target
349 const char *name = NULL, *target = NULL, *info = NULL; in apparmor_bprm_set_creds() local
450 target = new_profile->base.hname; in apparmor_bprm_set_creds()
501 target = new_profile->base.hname; in apparmor_bprm_set_creds()
515 name, target, cond.uid, info, error); in apparmor_bprm_set_creds()
612 const char *target = NULL, *info = NULL; in aa_change_hat() local
669 target = name; in aa_change_hat()
679 target = hat->base.hname; in aa_change_hat()
707 target = previous_profile->base.hname; in aa_change_hat()
718 target, GLOBAL_ROOT_UID, info, error); in aa_change_hat()
747 struct aa_profile *profile, *target = NULL; in aa_change_profile() local
810 target = aa_lookup_profile(ns, hname); in aa_change_profile()
811 if (!target) { in aa_change_profile()
817 target = aa_new_null_profile(profile, 0); in aa_change_profile()
818 if (!target) { in aa_change_profile()
826 error = may_change_ptraced_domain(target); in aa_change_profile()
836 error = aa_set_current_onexec(target); in aa_change_profile()
838 error = aa_replace_current_profile(target); in aa_change_profile()
846 aa_put_profile(target); in aa_change_profile()