Searched refs:exe_file (Results 1 – 4 of 4) sorted by relevance
526 struct file *exe_file; in audit_exe_compare() local536 exe_file = get_mm_exe_file(current->mm); in audit_exe_compare()537 if (!exe_file) in audit_exe_compare()539 ino = file_inode(exe_file)->i_ino; in audit_exe_compare()540 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare()541 fput(exe_file); in audit_exe_compare()
503 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()675 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()1088 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init()1211 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()1215 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()1228 struct file *exe_file; in get_mm_exe_file() local1231 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file()1232 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file()1233 exe_file = NULL; in get_mm_exe_file()1235 return exe_file; in get_mm_exe_file()[all …]
2212 struct file *exe_file; in audit_log_d_path_exe() local2217 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()2218 if (!exe_file) in audit_log_d_path_exe()2221 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()2222 fput(exe_file); in audit_log_d_path_exe()
1867 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local1893 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file()1895 if (exe_file) { in prctl_set_mm_exe_file()1903 &exe_file->f_path)) in prctl_set_mm_exe_file()1908 fput(exe_file); in prctl_set_mm_exe_file()1914 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file()1922 fput(exe_file); in prctl_set_mm_exe_file()