Searched refs:exe_file (Results 1 – 4 of 4) sorted by relevance
543 struct file *exe_file; in audit_exe_compare() local547 exe_file = get_task_exe_file(tsk); in audit_exe_compare()548 if (!exe_file) in audit_exe_compare()550 ino = file_inode(exe_file)->i_ino; in audit_exe_compare()551 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare()552 fput(exe_file); in audit_exe_compare()
505 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()650 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()1035 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init()1153 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()1157 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()1170 struct file *exe_file; in get_mm_exe_file() local1173 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file()1174 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file()1175 exe_file = NULL; in get_mm_exe_file()1177 return exe_file; in get_mm_exe_file()[all …]
2088 struct file *exe_file; in audit_log_d_path_exe() local2093 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()2094 if (!exe_file) in audit_log_d_path_exe()2097 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()2098 fput(exe_file); in audit_log_d_path_exe()
1817 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local1843 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file()1845 if (exe_file) { in prctl_set_mm_exe_file()1853 &exe_file->f_path)) in prctl_set_mm_exe_file()1858 fput(exe_file); in prctl_set_mm_exe_file()1864 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file()1872 fput(exe_file); in prctl_set_mm_exe_file()