Defined in 1 files as a prototype:
Defined in 2 files as a function:
- security/integrity/ima/ima.h, line 541 (as a function)
- security/integrity/ima/ima_appraise.c, line 184 (as a function)
Referenced in 2 files:
Smatch caller information:
security/integrity/ima/ima_appraise.c validate_hash_algo() -> ima_get_hash_algo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xattr_value | 4096-ptr_max |
| PARAM_VALUE | 0 | xattr_value->type | 0-6 |
| DATA_SOURCE | 0 | xattr_value | $1 |
| DATA_SOURCE | 1 | xattr_len | $2 |
| HARD_MAX | 0 | xattr_value->type | 6 |
security/integrity/ima/ima_main.c process_measurement() -> ima_get_hash_algo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | xattr_len | s32min-(-96),(-94)-s32max |
| FUZZY_MAX | 1 | xattr_len | 0 |
| LOCK2 | &iint->mutex | ||
| TYPE_LOCK | (struct ima_iint_cache)->mutex |