Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/fork.c dup_mm_exe_file() -> exe_file_deny_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exe_file | 4096-ptr_max |
| DATA_SOURCE | 0 | exe_file | r get_mm_exe_file |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
kernel/fork.c replace_mm_exe_file() -> exe_file_deny_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exe_file | 0,4-u64max |
| DATA_SOURCE | 0 | exe_file | $1 |
kernel/fork.c set_mm_exe_file() -> exe_file_deny_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exe_file | 1-u64max |
| DATA_SOURCE | 0 | exe_file | $1 |
| TERMINATED | 0 | exe_file->vma->vmlock_dep_map.name | 1 |
| RX_PATH |
fs/binfmt_misc.c entry_open_interpreter() -> exe_file_deny_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exe_file | 4096-ptr_max |
| CAPPED_DATA | 0 | exe_file | 1 |
| CAPPED_DATA | 0 | exe_file->f_cred | 1 |
| CAPPED_DATA | 0 | exe_file->f_path.dentry | 1 |
| DATA_SOURCE | 0 | exe_file | r file_clone_open |
fs/exec.c do_open_execat() -> exe_file_deny_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exe_file | 4096-ptr_max |
| DATA_SOURCE | 0 | exe_file | r do_file_open |