Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/bpf_fs_kfuncs.c, line 258
- fs/ecryptfs/inode.c, line 1070
- fs/xattr.c
- security/commoncap.c, line 355
- security/integrity/evm/evm_crypto.c, line 401
Smatch caller information:
fs/xattr.c __vfs_removexattr_locked() -> __vfs_removexattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | name | (-1),9-256 |
| BUF_SIZE | 2 | name | (-1),9-256 |
| CAPPED_DATA | 1 | dentry | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dentry | $1 |
| DATA_SOURCE | 2 | name | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dentry->d_inode->i_mode | 0-u16max |
| USER_DATA | 1 | dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 1 | dentry->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | dentry->moved->d_inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 1 | &dentry->d_inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
security/integrity/evm/evm_crypto.c evm_update_evmxattr() -> __vfs_removexattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dentry->d_inode->i_opflags | 8-u16max |
| PARAM_VALUE | 2 | name | 4445894184074141696 |
| BUF_SIZE | 2 | name | 13 |
| CAPPED_DATA | 1 | dentry | 1 |
| DATA_SOURCE | 1 | dentry | $0 |
| STR_LEN | 0 | idmap | (-1),12 |
| STR_LEN | 1 | dentry | (-1),12 |
| STR_LEN | 1 | dentry | 12 |
| TERMINATED | 2 | name | 1 |
| NO_OVERFLOW_SIMPLE | 1 | dentry->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | dentry->moved->d_inode->i_size | |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ecryptfs/inode.c ecryptfs_removexattr() -> __vfs_removexattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| BUF_SIZE | 1 | dentry | 1-s32max |
| BUF_SIZE | 1 | dentry | 1-s32max |
| DATA_SOURCE | 2 | name | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &lower_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
security/commoncap.c cap_inode_killpriv() -> __vfs_removexattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | name | 2631449223765061632 |
| BUF_SIZE | 2 | name | 20 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dentry | $1 |
| STR_LEN | 0 | idmap | 19 |
| TERMINATED | 2 | name | 1 |
fs/bpf_fs_kfuncs.c bpf_remove_dentry_xattr_locked() -> __vfs_removexattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 1 | dentry | $0 |
| DATA_SOURCE | 2 | name | $1 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |