Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

security/integrity/ima/ima_appraise.c ima_read_xattr() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 2 name 491420867498741760
PARAM_VALUE 3 xattr_value 1791358496648634368
PARAM_VALUE 4 xattr_size 0-s32max,18446744071562067968-18446744073709551520,18446744073709551522-u64max
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 13
DATA_SOURCE 1 dentry $0
DATA_SOURCE 3 xattr_value $1
DATA_SOURCE 4 xattr_size $2
STR_LEN 0 idmap 12
TERMINATED 2 name 1
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex

security/integrity/evm/evm_crypto.c evm_calc_hmac_or_hash() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 3 xattr_value 8474611542201753600
PARAM_VALUE 4 xattr_size 0-s32max
PARAM_VALUE 5 flags 3136
CAPPED_DATA 4 xattr_size 1
CAPPED_DATA 4 xattr_size 1
DATA_SOURCE 1 dentry $0
FUZZY_MAX 4 xattr_size 0
STR_LEN 0 idmap (-1),12
STR_LEN 1 dentry (-1),12
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/evm/evm_crypto.c evm_is_immutable() -> vfs_getxattr_alloc()

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_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 name 4445894184074141696
PARAM_VALUE 3 xattr_value 8900252063795785728
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 13
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->moved->d_inode->i_size
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/evm/evm_main.c evm_inode_copy_up_xattr() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 2 name 4445894184074141696
PARAM_VALUE 3 xattr_value 1579641521686605824
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 13
DATA_SOURCE 1 dentry $0
STR_LEN 0 idmap 12
TERMINATED 2 name 1

security/integrity/evm/evm_main.c evm_verify_hmac() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 2 name 4445894184074141696
PARAM_VALUE 3 xattr_value 7037605882566381568
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 13
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
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/evm/evm_main.c evm_xattr_change() -> vfs_getxattr_alloc()

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_sb 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 name 4096-ptr_max
PARAM_VALUE 3 xattr_value 7219039721661030400
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3136
CAPPED_DATA 1 dentry 1
DATA_SOURCE 1 dentry $1
DATA_SOURCE 2 name $2

security/apparmor/domain.c aa_xattrs_match() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 3 xattr_value 9124600475624013824
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3264

security/commoncap.c cap_inode_getsecurity() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 2 name 2631449223765061632
PARAM_VALUE 3 xattr_value 9062282441848893440
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 24
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 20
DATA_SOURCE 0 idmap $0
DATA_SOURCE 1 dentry r d_find_any_alias
STR_LEN 0 idmap 19
TERMINATED 2 name 1
UNITS 4 xattr_size unit_byte

security/integrity/ima/ima_template_lib.c ima_eventevmsig_init() -> vfs_getxattr_alloc()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 2 name 4445894184074141696
PARAM_VALUE 3 xattr_value 2485772511459753984
PARAM_VALUE 3 *xattr_value 0
PARAM_VALUE 3 *(*xattr_value) 0
PARAM_VALUE 4 xattr_size 0
PARAM_VALUE 5 flags 3136
BUF_SIZE 2 name 13
STR_LEN 0 idmap 12
TERMINATED 2 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem