Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/fork.c exe_file_allow_write_access() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/binfmt_elf.c exe_file_allow_write_access() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| NOCHECK_CALL |
fs/verity/enable.c fsverity_ioctl_enable() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| BIT_INFO | 0 | file->f_mode | 0x1,0xffffffffffffffff |
| NOCHECK_CALL |
fs/compat_binfmt_elf.c exe_file_allow_write_access() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| NOCHECK_CALL |
fs/kernel_read_file.c kernel_read_file() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/binfmt_misc.c exe_file_allow_write_access() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| NOCHECK_CALL |
fs/exec.c exe_file_allow_write_access() -> allow_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |