Home
last modified time | relevance | path

Searched refs:exe_file (Results 1 – 4 of 4) sorted by relevance

/kernel/
Daudit_watch.c541 struct file *exe_file; in audit_exe_compare() local
551 exe_file = get_mm_exe_file(current->mm); in audit_exe_compare()
552 if (!exe_file) in audit_exe_compare()
554 ino = file_inode(exe_file)->i_ino; in audit_exe_compare()
555 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare()
556 fput(exe_file); in audit_exe_compare()
Dfork.c505 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()
1043 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init()
1162 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()
1166 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
1179 struct file *exe_file; in get_mm_exe_file() local
1182 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file()
1183 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file()
1184 exe_file = NULL; in get_mm_exe_file()
1186 return exe_file; in get_mm_exe_file()
[all …]
Daudit.c2157 struct file *exe_file; in audit_log_d_path_exe() local
2162 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()
2163 if (!exe_file) in audit_log_d_path_exe()
2166 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()
2167 fput(exe_file); in audit_log_d_path_exe()
Dsys.c1836 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local
1862 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file()
1864 if (exe_file) { in prctl_set_mm_exe_file()
1872 &exe_file->f_path)) in prctl_set_mm_exe_file()
1877 fput(exe_file); in prctl_set_mm_exe_file()
1883 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file()
1891 fput(exe_file); in prctl_set_mm_exe_file()