Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/erofs/ishare.c erofs_ishare_mmap() -> security_mmap_backing_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | backing_file->f_cred->rcu.next | 0 |
| PARAM_VALUE | 1 | backing_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->security | 0 |
| PARAM_VALUE | 1 | backing_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 1 | backing_file->f_cred->user_ns->work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file->f_security | 0 |
| PARAM_VALUE | 1 | backing_file->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 1 | backing_file->f_task_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 1 | *backing_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 2 | user_file | 4096-ptr_max |
| PARAM_VALUE | 2 | user_file->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | vma | (-1)-s32max |
| BUF_SIZE | 0 | vma | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 1 | backing_file | (-1),1216 |
| BUF_SIZE | 1 | backing_file | (-1),1216 |
| BUF_SIZE | 2 | user_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | user_file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | user_file->private_data | (-1),1216 |
| CAPPED_DATA | 1 | backing_file | 1 |
| CAPPED_DATA | 2 | user_file | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| DATA_SOURCE | 2 | user_file | $0 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
fs/backing-file.c backing_file_mmap() -> security_mmap_backing_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | backing_file->f_cred->rcu.next | 0 |
| PARAM_VALUE | 1 | backing_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->security | 0 |
| PARAM_VALUE | 1 | backing_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | backing_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 1 | backing_file->f_cred->user_ns->work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file->f_op | 4096-ptr_max |
| PARAM_VALUE | 1 | backing_file->f_security | 0 |
| PARAM_VALUE | 1 | backing_file->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 1 | backing_file->f_task_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 1 | *backing_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 2 | user_file | (-1)-s32max |
| BUF_SIZE | 2 | user_file | (-1)-s32max |
| CAPPED_DATA | 1 | backing_file | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| DATA_SOURCE | 1 | backing_file | $0 |
| BIT_INFO | 1 | backing_file->f_mode | 0x1000000,0xffffffffffffffff |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |