Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/xattr.c xattr_permission() -> may_write_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | inode | $1 |
| STR_LEN | 0 | idmap | (-5)-1010101 |
| STR_LEN | 0 | idmap | (-5)-1010101 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_mode | 0-u16max |
| USER_DATA | 1 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/posix_acl.c vfs_remove_acl() -> may_write_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_op->set_acl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| STR_LEN | 0 | idmap | (-1),23-24 |
| STR_LEN | 0 | idmap | (-1),23-24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_mode | 0-u16max |
| USER_DATA | 1 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | 1 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/posix_acl.c vfs_set_acl() -> may_write_xattr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_op->set_acl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_mode | 0-u16max |
| USER_DATA | 1 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | 1 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |