Lines Matching refs:info
50 const char **info) in may_change_ptraced_domain() argument
78 *info = "ptrace prevents transition"; in may_change_ptraced_domain()
391 const char *name, const char **info) in find_attach() argument
491 *info = CONFLICTING_ATTACH_STR; in find_attach()
572 const char **info) in x_to_label() argument
601 name, info); in x_to_label()
605 name, info); in x_to_label()
616 if (*info == CONFLICTING_ATTACH_STR) { in x_to_label()
617 *info = CONFLICTING_ATTACH_STR_IX; in x_to_label()
619 old_info = *info; in x_to_label()
620 *info = "ix fallback"; in x_to_label()
626 if (*info == CONFLICTING_ATTACH_STR) { in x_to_label()
627 *info = CONFLICTING_ATTACH_STR_UX; in x_to_label()
629 old_info = *info; in x_to_label()
630 *info = "ux fallback"; in x_to_label()
668 const char *info = NULL, *name = NULL, *target = NULL; in profile_transition() local
679 &name, &info, profile->disconnected); in profile_transition()
693 &profile->ns->base.profiles, name, &info); in profile_transition()
699 if (info) { in profile_transition()
708 info, error); in profile_transition()
723 &info); in profile_transition()
724 if (new && new->proxy == profile->label.proxy && info) { in profile_transition()
729 if (info == CONFLICTING_ATTACH_STR_IX in profile_transition()
730 || info == CONFLICTING_ATTACH_STR_UX) in profile_transition()
735 if (info) { in profile_transition()
738 __func__, profile->base.hname, info); in profile_transition()
740 info = "profile transition not found"; in profile_transition()
756 info = "could not create null profile"; in profile_transition()
783 cond->uid, info, error); in profile_transition()
801 const char *xname = NULL, *info = "change_profile onexec"; in profile_onexec() local
820 &xname, &info, profile->disconnected); in profile_onexec()
834 info = "no change_onexec valid for executable"; in profile_onexec()
862 NULL, onexec, cond->uid, info, error); in profile_onexec()
924 const char *info = NULL; in apparmor_bprm_creds_for_exec() local
990 info = "no new privs"; in apparmor_bprm_creds_for_exec()
1001 error = may_change_ptraced_domain(bprm->cred, new, &info); in apparmor_bprm_creds_for_exec()
1041 vfsuid_into_kuid(vfsuid), info, error)); in apparmor_bprm_creds_for_exec()
1060 const char *info = NULL; in build_change_hat() local
1068 info = "conflicting target types"; in build_change_hat()
1080 info = "failed null profile create"; in build_change_hat()
1091 hat ? &hat->label : NULL, GLOBAL_ROOT_UID, info, in build_change_hat()
1113 const char *name, *info = NULL; in change_hat() local
1132 info = "conflicting targets types"; in change_hat()
1143 info = "target not hat"; in change_hat()
1164 info = "hat not found"; in change_hat()
1169 info = "no hats defined"; in change_hat()
1185 GLOBAL_ROOT_UID, info, error); in change_hat()
1196 info = "label build failed"; in change_hat()
1228 const char *info = NULL; in aa_change_hat() local
1260 info = "unconfined can not change_hat"; in aa_change_hat()
1277 error = may_change_ptraced_domain(subj_cred, new, &info); in aa_change_hat()
1337 info = "failed token match"; in aa_change_hat()
1344 GLOBAL_ROOT_UID, info, error)); in aa_change_hat()
1357 const char *info = NULL; in change_profile_perms_wrapper() local
1367 NULL, target, GLOBAL_ROOT_UID, info, in change_profile_perms_wrapper()
1393 const char *info = NULL; in aa_change_profile() local
1465 info = "label not found"; in aa_change_profile()
1479 info = "failed null profile create"; in aa_change_profile()
1508 error = may_change_ptraced_domain(subj_cred, target, &info); in aa_change_profile()
1547 info = "failed to build target label"; in aa_change_profile()
1572 GLOBAL_ROOT_UID, info, error)); in aa_change_profile()