Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/
Dfork.c1242 int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in set_mm_exe_file() argument
1253 if (new_exe_file) { in set_mm_exe_file()
1258 if (unlikely(deny_write_access(new_exe_file))) in set_mm_exe_file()
1260 get_file(new_exe_file); in set_mm_exe_file()
1262 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
1279 int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in replace_mm_exe_file() argument
1303 ret = deny_write_access(new_exe_file); in replace_mm_exe_file()
1306 get_file(new_exe_file); in replace_mm_exe_file()
1308 old_exe_file = xchg(&mm->exe_file, new_exe_file); in replace_mm_exe_file()
/linux-5.19.10/include/linux/
Dmm.h2668 extern int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
2669 extern int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);