Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/block/loop.c, line 156
- fs/ecryptfs/inode.c, line 977
- fs/exportfs/expfs.c, line 303
- fs/overlayfs/inode.c, line 168
- fs/stat.c
- security/integrity/ima/ima_api.c, line 279
- security/integrity/ima/ima_main.c, line 194
Smatch caller information:
security/integrity/ima/ima_main.c ima_detect_file_change() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | stat | 3772719210923773952 |
| PARAM_VALUE | 2 | request_mask | 1073741824 |
| PARAM_VALUE | 3 | query_flags | 0 |
| LOCK2 | &iint->mutex | ||
| TYPE_LOCK | (struct ima_iint_cache)->mutex |
fs/ecryptfs/inode.c ecryptfs_getattr() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 5636214063748231168 |
| PARAM_VALUE | 1 | stat | 7156072749147398144 |
| PARAM_VALUE | 3 | query_flags | 0,8192-24576 |
| DATA_SOURCE | 2 | request_mask | $3 |
| DATA_SOURCE | 3 | query_flags | $4 |
| BIT_INFO | 3 | query_flags | 0x0,0x6000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | request_mask | 0-1073741822[c] |
| USER_DATA | 3 | query_flags | 0,8192-24576[c] |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &lo->lo_mutex |
fs/overlayfs/inode.c ovl_real_getattr_nosec() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 2690724360909557760 |
| PARAM_VALUE | 1 | stat | 4096-ptr_max |
| PARAM_VALUE | 1 | stat->attributes | 0,4096,2097152,2101248 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0,2101248 |
| PARAM_VALUE | 1 | stat->result_mask | 0,2015,2047 |
| PARAM_VALUE | 3 | query_flags | 0,8192-24576 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | stat | $2 |
| DATA_SOURCE | 2 | request_mask | $3 |
| DATA_SOURCE | 3 | query_flags | $4 |
| FUZZY_MAX | 1 | stat->attributes | 0 |
| BIT_INFO | 3 | query_flags | 0x0,0x6000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | request_mask | 0-1073741822[c] |
| USER_DATA | 3 | query_flags | 0,8192-24576[c] |
| NO_OVERFLOW_SIMPLE | 1 | stat->ino | |
| NO_OVERFLOW_SIMPLE | 1 | stat->size | |
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &lo->lo_mutex |
drivers/block/loop.c lo_calculate_size() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | stat | 209125450333790208 |
| PARAM_VALUE | 2 | request_mask | 512 |
| PARAM_VALUE | 3 | query_flags | 0 |
| LOCK2 | &lo->lo_mutex | ||
| TYPE_LOCK | (struct loop_device)->lo_mutex |
fs/stat.c vfs_getattr() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | request_mask | 0-1073741822,1073742562,1073745919,1073885183 |
| PARAM_VALUE | 3 | query_flags | 0,256-u32max |
| DATA_SOURCE | 0 | path | $0 |
| DATA_SOURCE | 1 | stat | $1 |
| DATA_SOURCE | 2 | request_mask | $2 |
| DATA_SOURCE | 3 | query_flags | $3 |
| FUZZY_MAX | 2 | request_mask | 2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | request_mask | 0-1073741822[c] |
| USER_DATA | 3 | query_flags | 0,256-s32max |
| NO_OVERFLOW_SIMPLE | 1 | stat->ino | |
| NO_OVERFLOW_SIMPLE | 1 | stat->size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &lo->lo_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zone->lock |
fs/exportfs/expfs.c get_name() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 3241999752260812800 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | stat | 3061791462186569728 |
| PARAM_VALUE | 2 | request_mask | 256 |
| PARAM_VALUE | 3 | query_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &child->d_lockref.lock |
security/integrity/ima/ima_api.c ima_collect_measurement() -> vfs_getattr_nosec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | stat | 7791847954318876672 |
| PARAM_VALUE | 2 | request_mask | 1073741824 |
| PARAM_VALUE | 3 | query_flags | 0 |
| HALF_LOCKED2 | &iint->mutex |