Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/integrity/ima/ima_main.c ima_rdwr_violation_check() -> ima_add_violation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode->i_readcount.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file->f_path.mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | filename | 1-ptr_max |
| PARAM_VALUE | 2 | iint | 4096-ptr_max |
| PARAM_VALUE | 3 | op | 7509862970711224320 |
| PARAM_VALUE | 4 | cause | 764008393323704320 |
| BUF_SIZE | 1 | filename | (-1),255 |
| BUF_SIZE | 3 | op | 12 |
| BUF_SIZE | 4 | cause | 7 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | filename | r ima_d_path |
| DATA_SOURCE | 2 | iint | $1 [m] |
| STR_LEN | 0 | file | 11 |
| STR_LEN | 1 | filename | 6 |
| TERMINATED | 3 | op | 1 |
| TERMINATED | 4 | cause | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
security/integrity/ima/ima_main.c ima_rdwr_violation_check() -> ima_add_violation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file->f_inode->i_writecount.counter | 1-s32max |
| PARAM_VALUE | 0 | file->f_path.mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | filename | 1-ptr_max |
| PARAM_VALUE | 2 | iint | 4096-ptr_max |
| PARAM_VALUE | 3 | op | 7509862970711224320 |
| PARAM_VALUE | 4 | cause | 5282782539332939776 |
| BUF_SIZE | 1 | filename | (-1),255 |
| BUF_SIZE | 3 | op | 12 |
| BUF_SIZE | 4 | cause | 13 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | filename | r ima_d_path |
| DATA_SOURCE | 2 | iint | $1 |
| STR_LEN | 0 | file | 11 |
| STR_LEN | 1 | filename | 12 |
| TERMINATED | 3 | op | 1 |
| TERMINATED | 4 | cause | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |