Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/exec.c copy_string_kernel() -> flush_arg_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bprm | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 0,4096-u64max |
| PARAM_VALUE | 2 | page | 1-u64max |
| BUF_SIZE | 0 | bprm | (-1),1-s32max |
| BUF_SIZE | 0 | bprm | (-1),1-s32max |
| CAPPED_DATA | 0 | bprm->argmin | 1 |
| DATA_SOURCE | 0 | bprm | $1 |
| DATA_SOURCE | 2 | page | r get_arg_page |
| PARAM_COMPARE | 0 | bprm->argmin | <= $0->p |
| BIT_INFO | 1 | pos | 0x0,0xfffffffffffff000 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | bprm->is_check | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | bprm->envc | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->exec | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->file->f_path.moved->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->p |
fs/exec.c copy_strings() -> flush_arg_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bprm | 4096-ptr_max |
| PARAM_VALUE | 0 | bprm->vma | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 0,4096-u64max |
| PARAM_VALUE | 2 | page | 1-u64max |
| BUF_SIZE | 0 | bprm | 472 |
| CAPPED_DATA | 0 | bprm->argmin | 1 |
| CAPPED_DATA | 0 | bprm->fdpath | 1 |
| CAPPED_DATA | 0 | bprm->p | 1 |
| DATA_SOURCE | 0 | bprm | $2 |
| PARAM_COMPARE | 0 | bprm->argmin | <= $0->p |
| BIT_INFO | 1 | pos | 0x0,0xfffffffffffff000 |
| BIT_INFO | 1 | pos | 0x0,0xfffffffffffff000 |
| TERMINATED | 0 | bprm->vma->vmlock_dep_map.name | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | bprm->is_check | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | bprm->envc | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->exec | |
| NO_OVERFLOW_SIMPLE | 0 | bprm->p |