Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/overlayfs/copy_up.c ovl_copy_acl() -> ovl_do_set_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_op->listxattr | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | acl_name | 16,4096-u64max |
| PARAM_VALUE | 3 | acl | 4096-ptr_max |
| PARAM_VALUE | 3 | acl->a_refcount.refs.counter | 1 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | acl_name | (-1),1-s32max |
| BUF_SIZE | 2 | acl_name | (-1),1-s32max |
| BUF_SIZE | 3 | acl | 24-s32max |
| BUF_SIZE | 3 | acl | 24-s32max |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | dentry | $2 |
| DATA_SOURCE | 2 | acl_name | $3 |
| DATA_SOURCE | 3 | acl | r posix_acl_clone |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/inode.c ovl_set_or_remove_acl() -> ovl_do_set_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 2 | acl_name | 591381770020839424,8730181435676094464 |
| PARAM_VALUE | 3 | acl | 4096-ptr_max |
| PARAM_VALUE | 3 | acl->a_entries->e_gid.val | 0-4294967295 |
| PARAM_VALUE | 3 | acl->a_entries->e_uid.val | 0-4294967295 |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 2 | acl_name | 24-25 |
| BUF_SIZE | 2 | acl_name | 24-25 |
| BUF_SIZE | 3 | acl | (-1)-s32max |
| BUF_SIZE | 3 | acl | (-1)-s32max |
| DATA_SOURCE | 2 | acl_name | r posix_acl_xattr_name |
| DATA_SOURCE | 3 | acl | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | acl->a_count | 0-s32max[c] |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/overlayfs/dir.c ovl_set_upper_acl() -> ovl_do_set_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ofs | 4096-ptr_max |
| PARAM_VALUE | 0 | ofs->layers | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_hash.pprev | 1-u64max |
| PARAM_VALUE | 1 | dentry->d_inode | 4096-ptr_max |
| 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.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_parent | 4096-ptr_max |
| PARAM_VALUE | 1 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dentry->d_sb->s_vfs_rename_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dentry->d_sb->s_vfs_rename_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dentry->d_sb->s_vfs_rename_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | dentry->d_sb->s_vfs_rename_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | acl_name | 591381770020839424,8730181435676094464 |
| PARAM_VALUE | 3 | acl | 4096-ptr_max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 0 | ofs | 1-s32max |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 1 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | acl_name | 24-25 |
| BUF_SIZE | 2 | acl_name | 24-25 |
| CAPPED_DATA | 0 | ofs->casefold | 1 |
| CAPPED_DATA | 1 | dentry | 1 |
| CAPPED_DATA | 1 | dentry->d_parent | 1 |
| DATA_SOURCE | 0 | ofs | $0 |
| DATA_SOURCE | 1 | dentry | $1 |
| DATA_SOURCE | 2 | acl_name | $2 |
| DATA_SOURCE | 3 | acl | $3 |
| STR_LEN | 0 | ofs | 23-24 |
| STR_LEN | 0 | ofs | 23-24 |
| TERMINATED | 2 | acl_name | 1 |
| 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 | 3 | acl->a_count | |
| UNITS | 0 | ofs | unit_byte |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |