Defined in 1 files as a prototype:
Defined in 2 files as a function:
- security/integrity/integrity.h, line 242 (as a function)
- security/integrity/integrity_audit.c, line 36 (as a function)
Referenced in 3 files:
- security/integrity/ima/ima_main.c, line 1198
- security/integrity/ima/ima_queue_keys.c, line 93
- security/integrity/integrity_audit.c, line 32
Smatch caller information:
security/integrity/ima/ima_queue_keys.c ima_alloc_key_entry() -> integrity_audit_message()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | audit_msgno | 1804 |
| PARAM_VALUE | 1 | inode | 0 |
| PARAM_VALUE | 4 | cause | 2948114571838840832 |
| PARAM_VALUE | 5 | result | (-12) |
| PARAM_VALUE | 6 | audit_info | 0 |
| PARAM_VALUE | 7 | errno | (-12) |
| BUF_SIZE | 4 | cause | 7 |
| BUF_SIZE | 4 | cause | 7 |
| STR_LEN | 0 | audit_msgno | 6 |
| STR_LEN | 4 | cause | 6 |
| TERMINATED | 4 | cause | 1 |
| NOCHECK_CALL |
security/integrity/ima/ima_main.c process_buffer_measurement() -> integrity_audit_message()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | audit_msgno | 1804 |
| PARAM_VALUE | 1 | inode | 0 |
| PARAM_VALUE | 4 | cause | 3315408074291048448,4756609629449129984,6061369408020553728,6799907915187294208 |
| PARAM_VALUE | 5 | result | s32min-(-1) |
| PARAM_VALUE | 6 | audit_info | 0 |
| PARAM_VALUE | 7 | errno | s32min-(-1) |
| BUF_SIZE | 2 | fname | (-1),11-12,14-15,17-20 |
| BUF_SIZE | 2 | fname | (-1),11-12,14-15,17-20 |
| BUF_SIZE | 4 | cause | 12,14,22 |
| BUF_SIZE | 4 | cause | 12,14,22 |
| DATA_SOURCE | 2 | fname | $4 |
| STR_LEN | 0 | audit_msgno | (-1),10-11,13-14,16-17,19 |
| STR_LEN | 1 | inode | 11,13,21 |
| STR_LEN | 2 | fname | (-1),10-11,13-14,16-17,19 |
| STR_LEN | 4 | cause | 11,13,21 |
| BIT_INFO | 4 | cause | 0x20000a0000000,0x7e5eff7ffffff000 |
| BIT_INFO | 4 | cause | 0x20000a0000000,0x7e5eff7ffffff000 |
| TERMINATED | 4 | cause | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 5 | result | s32min-(-1) |
| USER_DATA | 7 | errno | s32min-(-1) |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | global &ima_write_mutex |
security/integrity/integrity_audit.c integrity_audit_msg() -> integrity_audit_message()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | audit_msgno | 1800-1802,1804,1808 |
| PARAM_VALUE | 1 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 3 | op | 4096-ptr_max |
| PARAM_VALUE | 6 | audit_info | 0-1 |
| PARAM_VALUE | 7 | errno | 0 |
| BUF_SIZE | 2 | fname | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | fname | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | op | 9-10,12-14,16,18-19,21,26 |
| BUF_SIZE | 3 | op | 9-10,12-14,16,18-19,21,26 |
| BUF_SIZE | 4 | cause | (-1),7-8,10-17,22-23,26-27,32 |
| BUF_SIZE | 4 | cause | (-1),7-8,10-17,22-23,26-27,32 |
| DATA_SOURCE | 0 | audit_msgno | $0 |
| DATA_SOURCE | 1 | inode | $1 |
| DATA_SOURCE | 2 | fname | $2 |
| DATA_SOURCE | 3 | op | $3 |
| DATA_SOURCE | 4 | cause | $4 |
| DATA_SOURCE | 5 | result | $5 |
| DATA_SOURCE | 6 | audit_info | $6 |
| FUZZY_MAX | 0 | audit_msgno | 1808 |
| FUZZY_MAX | 6 | audit_info | 1 |
| STR_LEN | 0 | audit_msgno | (-1),6,8-10,12-13,15,17-18,20,22,31 |
| STR_LEN | 1 | inode | (-1),6-7,9,11-16,21-22,25-26 |
| STR_LEN | 1 | inode | (-1),6-7,9,11-16,21-22,25-26 |
| STR_LEN | 2 | fname | (-1),6,11-12 |
| STR_LEN | 2 | fname | (-1),6,11-12 |
| STR_LEN | 3 | op | (-1),25 |
| STR_LEN | 3 | op | (-1),25 |
| STR_LEN | 4 | cause | (-1),6-7,9-13,16,21-22,25-26,31 |
| STR_LEN | 4 | cause | (-1),6-7,9-13,16,21-22,25-26,31 |
| TERMINATED | 3 | op | 1 |
| HARD_MAX | 0 | audit_msgno | 1808 |
| HARD_MAX | 6 | audit_info | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *fname | 0-255 |
| UNITS | 2 | fname | unit_byte |
| UNITS | 5 | result | unit_byte |
| USER_PTR | 2 | fname | |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | global &ima_write_mutex | ||
| HALF_LOCKED2 | rcu_read |