Lines Matching refs:unsafe
796 bool *unsafe) in handle_onexec() argument
810 bprm, buffer, cond, unsafe)); in handle_onexec()
816 cond, unsafe)); in handle_onexec()
822 buffer, cond, unsafe)); in handle_onexec()
829 cond, unsafe)); in handle_onexec()
860 bool unsafe = false; in apparmor_bprm_creds_for_exec() local
879 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
893 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec()
897 &cond, &unsafe)); in apparmor_bprm_creds_for_exec()
916 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && in apparmor_bprm_creds_for_exec()
924 if (bprm->unsafe & LSM_UNSAFE_SHARE) { in apparmor_bprm_creds_for_exec()
929 if (bprm->unsafe & (LSM_UNSAFE_PTRACE)) { in apparmor_bprm_creds_for_exec()
936 if (unsafe) { in apparmor_bprm_creds_for_exec()