Home
last modified time | relevance | path

Searched refs:new_exe_file (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/kernel/
H A Dfork.c1438 int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in set_mm_exe_file() argument
1449 if (new_exe_file) { in set_mm_exe_file()
1454 if (unlikely(exe_file_deny_write_access(new_exe_file))) in set_mm_exe_file()
1456 get_file(new_exe_file); in set_mm_exe_file()
1458 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
1475 int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in replace_mm_exe_file() argument
1501 ret = exe_file_deny_write_access(new_exe_file); in replace_mm_exe_file()
1504 get_file(new_exe_file); in replace_mm_exe_file()
1509 rcu_assign_pointer(mm->exe_file, new_exe_file); in replace_mm_exe_file()
/linux-6.15/include/linux/
H A Dmm.h3438 extern int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
3439 extern int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);