Home
last modified time | relevance | path

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

/linux/arch/arc/kernel/
H A Dtroubleshoot.c58 struct file *exe_file; in print_task_path_n_nm() local
65 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm()
68 if (exe_file) { in print_task_path_n_nm()
69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm()
70 fput(exe_file); in print_task_path_n_nm()
/linux/security/apparmor/
H A Dtask.c333 struct file *exe_file; in get_current_exe_path() local
337 exe_file = get_task_exe_file(current); in get_current_exe_path()
338 if (!exe_file) in get_current_exe_path()
340 p = exe_file->f_path; in get_current_exe_path()
346 fput(exe_file); in get_current_exe_path()
/linux/kernel/
H A Dfork.c568 struct file *exe_file; in dup_mm_exe_file() local
570 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file()
571 RCU_INIT_POINTER(mm->exe_file, exe_file); in dup_mm_exe_file()
576 if (exe_file && exe_file_deny_write_access(exe_file)) in dup_mm_exe_file()
1111 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init()
1261 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()
1272 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
1322 old_exe_file = rcu_dereference_raw(mm->exe_file); in replace_mm_exe_file()
1323 rcu_assign_pointer(mm->exe_file, new_exe_file); in replace_mm_exe_file()
1342 struct file *exe_file; in get_mm_exe_file() local
[all …]
H A Daudit.c2423 struct file *exe_file; in audit_log_d_path_exe() local
2428 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()
2429 if (!exe_file) in audit_log_d_path_exe()
2432 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()
2433 fput(exe_file); in audit_log_d_path_exe()
/linux/security/tomoyo/
H A Dutil.c968 struct file *exe_file; in tomoyo_get_exe() local
974 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe()
975 if (!exe_file) in tomoyo_get_exe()
978 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe()
979 fput(exe_file); in tomoyo_get_exe()
/linux/mm/
H A Ddebug.c192 "exe_file %px\n" in dump_mm()
221 mm->exe_file, in dump_mm()
/linux/include/linux/
H A Dfs.h2861 static inline int exe_file_deny_write_access(struct file *exe_file) in exe_file_deny_write_access() argument
2863 if (unlikely(FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_deny_write_access()
2865 return deny_write_access(exe_file); in exe_file_deny_write_access()
2867 static inline void exe_file_allow_write_access(struct file *exe_file) in exe_file_allow_write_access() argument
2869 if (unlikely(!exe_file || FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_allow_write_access()
2871 allow_write_access(exe_file); in exe_file_allow_write_access()
/linux/kernel/bpf/
H A Dverifier.c5845 struct file __rcu *exe_file; in BTF_TYPE_SAFE_RCU_OR_NULL() local