Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dfork.c1244 int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in set_mm_exe_file() argument
1255 if (new_exe_file) { in set_mm_exe_file()
1260 if (unlikely(deny_write_access(new_exe_file))) in set_mm_exe_file()
1262 get_file(new_exe_file); in set_mm_exe_file()
1264 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
1281 int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in replace_mm_exe_file() argument
1308 ret = deny_write_access(new_exe_file); in replace_mm_exe_file()
1311 get_file(new_exe_file); in replace_mm_exe_file()
1313 old_exe_file = xchg(&mm->exe_file, new_exe_file); in replace_mm_exe_file()
/linux-6.1.9/include/linux/
Dmm.h2722 extern int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);
2723 extern int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file);