Home
last modified time | relevance | path

Searched refs:ima_appraise (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/tools/testing/selftests/kexec/
Dtest_kexec_file_load.sh141 if [ $pe_sig_required -eq 0 ] && [ $ima_appraise -eq 1 ] \
147 if [ $pe_sig_required -eq 0 ] && [ $ima_appraise -eq 0 ]; then
149 elif [ $pe_sig_required -eq 0 ] && [ $ima_appraise -eq 1 ] \
177 if [ $pe_sig_required -eq 0 ] && [ $ima_appraise -eq 1 ] \
200 ima_appraise=$?
Dtest_kexec_load.sh22 ima_appraise=$?
37 elif [ $ima_appraise -eq 0 -o $arch_policy -eq 0 ]; then
/Linux-v5.4/security/integrity/ima/
Dima_main.c34 int ima_appraise = IMA_APPRAISE_ENFORCE; variable
36 int ima_appraise; variable
362 if (rc && (ima_appraise & IMA_APPRAISE_ENFORCE)) in process_measurement()
550 if ((ima_appraise & IMA_APPRAISE_FIRMWARE) && in ima_post_read_file()
551 (ima_appraise & IMA_APPRAISE_ENFORCE)) { in ima_post_read_file()
563 if (ima_appraise & IMA_APPRAISE_ENFORCE) in ima_post_read_file()
589 (ima_appraise & IMA_APPRAISE_ENFORCE) == IMA_APPRAISE_ENFORCE; in ima_load_data()
599 if (ima_enforce && (ima_appraise & IMA_APPRAISE_KEXEC)) { in ima_load_data()
605 if (ima_enforce && (ima_appraise & IMA_APPRAISE_FIRMWARE)) { in ima_load_data()
614 && (ima_appraise & IMA_APPRAISE_MODULES))) { in ima_load_data()
Dima_appraise.c22 ima_appraise = 0; in default_appraise_setup()
24 ima_appraise = IMA_APPRAISE_LOG; in default_appraise_setup()
26 ima_appraise = IMA_APPRAISE_FIX; in default_appraise_setup()
40 return ima_appraise & IMA_APPRAISE_ENFORCE; in is_ima_appraise_enabled()
52 if (!ima_appraise) in ima_must_appraise()
399 if ((ima_appraise & IMA_APPRAISE_FIX) && !try_modsig && in ima_appraise_measurement()
DMakefile11 ima-$(CONFIG_IMA_APPRAISE) += ima_appraise.o
Dima_fs.c338 } else if (ima_appraise & IMA_APPRAISE_POLICY) { in ima_write_policy()
343 if (ima_appraise & IMA_APPRAISE_ENFORCE) in ima_write_policy()
Dima.h53 extern int ima_appraise;
DKconfig229 bool "ima_appraise boot parameter"
233 This option enables the different "ima_appraise=" modes
Dima_policy.c554 ima_appraise |= (build_ima_appraise | temp_ima_appraise); in ima_update_policy_flag()
555 if (!ima_appraise) in ima_update_policy_flag()
/Linux-v5.4/Documentation/admin-guide/
Dkernel-parameters.txt1592 ima_appraise= [IMA] appraise integrity measurements