Lines Matching refs:unsafe
798 bool *unsafe) in handle_onexec() argument
812 bprm, buffer, cond, unsafe)); in handle_onexec()
818 cond, unsafe)); in handle_onexec()
824 buffer, cond, unsafe)); in handle_onexec()
831 cond, unsafe)); in handle_onexec()
862 bool unsafe = false; in apparmor_bprm_creds_for_exec() local
883 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
897 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec()
901 &cond, &unsafe)); in apparmor_bprm_creds_for_exec()
920 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && in apparmor_bprm_creds_for_exec()
928 if (bprm->unsafe & LSM_UNSAFE_SHARE) { in apparmor_bprm_creds_for_exec()
933 if (bprm->unsafe & (LSM_UNSAFE_PTRACE)) { in apparmor_bprm_creds_for_exec()
940 if (unsafe) { in apparmor_bprm_creds_for_exec()