Defined in 1 files as a prototype:
Defined in 2 files as a function:
- security/integrity/ima/ima.h, line 580 (as a function)
- security/integrity/ima/ima_modsig.c, line 125 (as a function)
Referenced in 2 files:
Smatch caller information:
security/integrity/ima/ima_appraise.c ima_check_blacklist() -> ima_get_modsig_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | modsig | 4096-ptr_max |
| PARAM_VALUE | 0 | modsig->digest_size | 0-4294967295 |
| PARAM_VALUE | 0 | modsig->hash_algo | 0-23 |
| PARAM_VALUE | 1 | algo | 1734263616071782400 |
| PARAM_VALUE | 2 | digest | 384247133020487680 |
| PARAM_VALUE | 2 | *digest | 0 |
| PARAM_VALUE | 3 | digest_size | 7977356458102751232 |
| PARAM_VALUE | 3 | *digest_size | 0 |
| DATA_SOURCE | 0 | modsig | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | modsig->hash_algo | |
| LOCK2 | &iint->mutex | ||
| TYPE_LOCK | (struct ima_iint_cache)->mutex |
security/integrity/ima/ima_template_lib.c ima_eventdigest_modsig_init() -> ima_get_modsig_digest()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | algo | 6898547756202041344 |
| PARAM_VALUE | 2 | digest | 499713066186190848 |
| PARAM_VALUE | 3 | digest_size | 6556158470103703552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |