Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- security/integrity/ima/ima_api.c
- security/integrity/ima/ima_init.c, line 89
- security/integrity/ima/ima_main.c, line 1184
Smatch caller information:
security/integrity/ima/ima_main.c process_buffer_measurement() -> ima_alloc_init_template()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event_data | 4001920451867557888 |
| PARAM_VALUE | 0 | event_data->file | 0 |
| PARAM_VALUE | 0 | event_data->iint | 2653953833479499776 |
| PARAM_VALUE | 0 | event_data->modsig | 0 |
| PARAM_VALUE | 0 | event_data->violation | 0 |
| PARAM_VALUE | 0 | event_data->xattr_len | 0 |
| PARAM_VALUE | 0 | event_data->xattr_value | 0 |
| PARAM_VALUE | 1 | entry | 1643361771467190272 |
| PARAM_VALUE | 1 | *entry | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | event_data->buf_len | 1-2147483646[c] |
| USER_PTR | 0 | event_data->buf | |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | global &ima_write_mutex |
security/integrity/ima/ima_init.c ima_add_boot_aggregate() -> ima_alloc_init_template()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event_data | 3969680737383686144 |
| PARAM_VALUE | 0 | event_data->buf | 0 |
| PARAM_VALUE | 0 | event_data->buf_len | 0 |
| PARAM_VALUE | 0 | event_data->file | 0 |
| PARAM_VALUE | 0 | event_data->filename | 1386973853826129920 |
| PARAM_VALUE | 0 | event_data->iint | 575967806927106048 |
| PARAM_VALUE | 0 | event_data->modsig | 0 |
| PARAM_VALUE | 0 | event_data->violation | 0 |
| PARAM_VALUE | 0 | event_data->xattr_len | 0 |
| PARAM_VALUE | 0 | event_data->xattr_value | 0 |
| PARAM_VALUE | 1 | entry | 2589009541274218496 |
| PARAM_VALUE | 2 | desc | 0 |
security/integrity/ima/ima_api.c ima_add_violation() -> ima_alloc_init_template()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event_data | 4509160457562198016 |
| PARAM_VALUE | 0 | event_data->buf | 0 |
| PARAM_VALUE | 0 | event_data->buf_len | 0 |
| PARAM_VALUE | 0 | event_data->file | 4096-ptr_max |
| PARAM_VALUE | 0 | event_data->filename | 1-ptr_max |
| PARAM_VALUE | 0 | event_data->iint | 4096-ptr_max |
| PARAM_VALUE | 0 | event_data->modsig | 0 |
| PARAM_VALUE | 0 | event_data->violation | 764008393323704320,5282782539332939776 |
| PARAM_VALUE | 0 | event_data->xattr_len | 0 |
| PARAM_VALUE | 0 | event_data->xattr_value | 0 |
| PARAM_VALUE | 1 | entry | 8929455231909629952 |
| PARAM_VALUE | 2 | desc | 0 |
| TERMINATED | 0 | event_data->violation | 1 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
security/integrity/ima/ima_api.c ima_store_measurement() -> ima_alloc_init_template()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event_data | 3918225216821248000 |
| PARAM_VALUE | 0 | event_data->buf | 0 |
| PARAM_VALUE | 0 | event_data->buf_len | 0 |
| PARAM_VALUE | 0 | event_data->file | 4096-ptr_max |
| PARAM_VALUE | 0 | event_data->filename | 1-ptr_max |
| PARAM_VALUE | 0 | event_data->iint | 4096-ptr_max |
| PARAM_VALUE | 0 | event_data->modsig | 0,4096-ptr_max |
| PARAM_VALUE | 0 | event_data->violation | 0 |
| PARAM_VALUE | 0 | event_data->xattr_len | s32min-(-96),(-94)-s32max |
| PARAM_VALUE | 1 | entry | 8103223454540791808 |
| DATA_SOURCE | 2 | desc | $7 |
| LOCK2 | &iint->mutex | ||
| TYPE_LOCK | (struct ima_iint_cache)->mutex |