Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/fork.c replace_mm_exe_file() -> exe_file_allow_write_access()

Type Parameter Key Value
PARAM_VALUE 0 exe_file 4096-ptr_max
NOCHECK_CALL

kernel/fork.c set_mm_exe_file() -> exe_file_allow_write_access()

Type Parameter Key Value
PARAM_VALUE 0 exe_file 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/binfmt_misc.c close_interp_file() -> exe_file_allow_write_access()

Type Parameter Key Value
PARAM_VALUE 0 exe_file 1-ptr_max
DATA_SOURCE 0 exe_file $0
NOCHECK_CALL

fs/exec.c begin_new_exec() -> exe_file_allow_write_access()

Type Parameter Key Value
PARAM_VALUE 0 exe_file 4096-ptr_max
PARAM_VALUE 0 exe_file->f_inode 4096-ptr_max
NOCHECK_CALL
LOCK2 &tsk->signal->exec_update_lock

fs/exec.c do_close_execat() -> exe_file_allow_write_access()

Type Parameter Key Value
PARAM_VALUE 0 exe_file 1-u64max
DATA_SOURCE 0 exe_file $0
NOCHECK_CALL