Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- fs/ceph/dir.c, line 999
- fs/crypto/hooks.c, line 283
- fs/ext4/namei.c, line 3377
- fs/f2fs/namei.c, line 664
- fs/ubifs/dir.c, line 1189
Smatch caller information:
fs/f2fs/namei.c f2fs_symlink() -> fscrypt_prepare_symlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->symlink | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 4 | disk_link | 5932137394098487296 |
| BUF_SIZE | 1 | target | (-1)-s32max |
| BUF_SIZE | 1 | target | (-1)-s32max |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| DATA_SOURCE | 1 | target | $3 |
| DATA_SOURCE | 2 | len | r __fortify_strlen |
| STR_LEN | 0 | dir | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| UNITS | 3 | max_len | unit_byte |
fs/ubifs/dir.c ubifs_symlink() -> fscrypt_prepare_symlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->symlink | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | max_len | 4096 |
| PARAM_VALUE | 4 | disk_link | 1950692939635896320 |
| BUF_SIZE | 1 | target | (-1)-s32max |
| BUF_SIZE | 1 | target | (-1)-s32max |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| DATA_SOURCE | 1 | target | $3 |
| DATA_SOURCE | 2 | len | r __fortify_strlen |
| STR_LEN | 0 | dir | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/ceph/dir.c prep_encrypted_symlink_target() -> fscrypt_prepare_symlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | max_len | 4096 |
| PARAM_VALUE | 4 | disk_link | 8959659330127667200 |
| PARAM_VALUE | 4 | disk_link->len | 0 |
| PARAM_VALUE | 4 | disk_link->name | 0 |
| BUF_SIZE | 1 | target | (-1),1-4097 |
| BUF_SIZE | 1 | target | (-1),1-4097 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | target | $1 |
| DATA_SOURCE | 2 | len | r __fortify_strlen |
| STR_LEN | 0 | dir | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/ext4/namei.c ext4_symlink() -> fscrypt_prepare_symlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->symlink | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 4 | disk_link | 7702217930107817984 |
| BUF_SIZE | 1 | target | (-1)-s32max |
| BUF_SIZE | 1 | target | (-1)-s32max |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| DATA_SOURCE | 1 | target | $3 |
| DATA_SOURCE | 2 | len | r __fortify_strlen |
| STR_LEN | 0 | dir | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| UNITS | 3 | max_len | unit_byte |