Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

security/integrity/ima/ima_appraise.c ima_check_blacklist() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 inode 0
PARAM_VALUE 2 *buf 0-255
PARAM_VALUE 3 size 0-1999997
PARAM_VALUE 4 eventname 5403535063073267712
PARAM_VALUE 5 func 0
PARAM_VALUE 7 func_data 0
PARAM_VALUE 8 buf_hash 0
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
BUF_SIZE 4 eventname 17
DATA_SOURCE 6 pcr $2
STR_LEN 0 idmap 16
TERMINATED 4 eventname 1
NOCHECK_CALL
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex

security/integrity/ima/ima_queue_keys.c ima_process_queued_keys() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 inode 0
PARAM_VALUE 5 func 13
PARAM_VALUE 6 pcr 0
PARAM_VALUE 8 buf_hash 0
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

security/integrity/ima/ima_main.c ima_kexec_cmdline() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 size 1-2147483646
PARAM_VALUE 4 eventname 8403234519869841408
PARAM_VALUE 5 func 12
PARAM_VALUE 6 pcr 0
PARAM_VALUE 7 func_data 0
PARAM_VALUE 8 buf_hash 0
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
BUF_SIZE 4 eventname 14
CAPPED_DATA 3 size 1
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 size $2
STR_LEN 0 idmap 13
TERMINATED 4 eventname 1
NOCHECK_CALL
USER_DATA 3 size 1-2147483646[c]
USER_PTR 2 buf

security/integrity/ima/ima_main.c ima_measure_critical_data() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 inode 0
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 4 eventname 4096-ptr_max
PARAM_VALUE 5 func 14
PARAM_VALUE 6 pcr 0
PARAM_VALUE 7 func_data 376721489263251456,3508248594738675712,4354581583731789824,6167522293691252736,7420951170413568000,7960479103203807232
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
BUF_SIZE 2 buf (-1),25,256,1024,2048,4096
BUF_SIZE 2 buf (-1),25,256,1024,2048,4096
BUF_SIZE 4 eventname 11-12,14-15,17-18,20
BUF_SIZE 4 eventname 11-12,14-15,17-18,20
BUF_SIZE 7 func_data 8,10-12,14
BUF_SIZE 7 func_data 8,10-12,14
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 size $3
DATA_SOURCE 4 eventname $1
DATA_SOURCE 7 func_data $0
DATA_SOURCE 8 buf_hash $4
DATA_SOURCE 9 digest $5
DATA_SOURCE 10 digest_len $6
STR_LEN 0 idmap (-1)-1010101
STR_LEN 1 inode 10-11,13-14,16-17,19
STR_LEN 2 buf (-1)-1010101
STR_LEN 2 buf 7,9-11,13
STR_LEN 4 eventname 10-11,13-14,16-17,19
STR_LEN 7 func_data 7,9-11,13
TERMINATED 4 eventname 1
TERMINATED 7 func_data 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 global &ima_write_mutex
HALF_LOCKED2 global &selinux_state.policy_mutex

security/integrity/ima/ima_main.c ima_measure_raw_policy() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 inode 0
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 size 1-4095
PARAM_VALUE 4 eventname 5505909726643150848
PARAM_VALUE 5 func 11
PARAM_VALUE 6 pcr 0
PARAM_VALUE 7 func_data 0
PARAM_VALUE 8 buf_hash 0
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
BUF_SIZE 2 buf 1-1000000001,2147479553
BUF_SIZE 4 eventname 19
DATA_SOURCE 2 buf $0
DATA_SOURCE 3 size $1
STR_LEN 0 idmap 18
TERMINATED 2 buf 1
TERMINATED 4 eventname 1
USER_DATA 3 size 1-4095
UNITS 3 size unit_byte
USER_PTR 2 buf
LOCK2 global &ima_write_mutex

security/integrity/ima/ima_asymmetric_keys.c ima_post_key_create_or_update() -> process_buffer_measurement()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 inode 0
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 5 func 13
PARAM_VALUE 6 pcr 0
PARAM_VALUE 8 buf_hash 0
PARAM_VALUE 9 digest 0
PARAM_VALUE 10 digest_len 0
CAPPED_DATA 3 size 1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 size $3
NOCHECK_CALL