Searched refs:exe_file (Results 1 – 10 of 10) sorted by relevance
| /linux/arch/arc/kernel/ |
| H A D | troubleshoot.c | 58 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 D | task.c | 333 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 D | fork.c | 568 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() 574 * exe_file already. 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() 1257 * It is safe to dereference the exe_file without RCU as in set_mm_exe_file() 1261 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file() 1342 struct file *exe_file; get_mm_exe_file() local 1360 struct file *exe_file = NULL; get_task_exe_file() local [all...] |
| H A D | audit.c | 2423 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()
|
| H A D | signal.c | 1256 struct file *exe_file; in print_fatal_signal() local 1258 exe_file = get_task_exe_file(current); in print_fatal_signal() 1259 if (exe_file) { in print_fatal_signal() 1261 exe_file, current->comm, signr); in print_fatal_signal() 1262 fput(exe_file); in print_fatal_signal()
|
| /linux/security/tomoyo/ |
| H A D | util.c | 968 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/fs/ |
| H A D | coredump.c | 200 struct file *exe_file; in cn_print_exe_file() local 204 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file() 205 if (!exe_file) in cn_print_exe_file() 214 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 230 fput(exe_file); in cn_print_exe_file()
|
| /linux/include/linux/ |
| H A D | fs.h | 2863 static inline int exe_file_deny_write_access(struct file *exe_file) in exe_file_deny_write_access() 2865 if (unlikely(FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_deny_write_access() 2867 return deny_write_access(exe_file); in exe_file_allow_write_access() 2869 static inline void exe_file_allow_write_access(struct file *exe_file) in exe_file_allow_write_access() 2871 if (unlikely(!exe_file || FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_allow_write_access() 2873 allow_write_access(exe_file); in file_set_fsnotify_mode() 2860 exe_file_deny_write_access(struct file * exe_file) exe_file_deny_write_access() argument 2866 exe_file_allow_write_access(struct file * exe_file) exe_file_allow_write_access() argument
|
| H A D | mm_types.h | 1343 struct file __rcu *exe_file; member
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 5891 struct file __rcu *exe_file; in BTF_TYPE_SAFE_RCU_OR_NULL() local
|