/kernel/linux/linux-5.10/kernel/ |
H A D | auditfilter.c | 577 if (entry->rule.exe || f_val > PATH_MAX) in audit_data_to_entry() 591 entry->rule.exe = audit_mark; in audit_data_to_entry() 608 if (entry->rule.exe) in audit_data_to_entry() 609 audit_remove_mark(entry->rule.exe); /* that's the template one */ in audit_data_to_entry() 676 audit_pack_string(&bufp, audit_mark_path(krule->exe)); in audit_krule_to_data() 743 if (strcmp(audit_mark_path(a->exe), in audit_compare_rule() 744 audit_mark_path(b->exe))) in audit_compare_rule() 874 if (new->exe) in audit_dupe_rule() 875 audit_remove_mark(new->exe); in audit_dupe_rule() 1044 if (e->rule.exe) in audit_del_rule() [all...] |
H A D | audit_watch.c | 302 if (oentry->rule.exe) in audit_update_watch() 303 audit_remove_mark(oentry->rule.exe); in audit_update_watch() 332 if (e->rule.exe) in audit_remove_parent_watches() 333 audit_remove_mark(e->rule.exe); in audit_remove_parent_watches() 510 pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL); in audit_dupe_exe() 519 new->exe = audit_mark; in audit_dupe_exe() 530 /* only do exe filtering if we are recording @current events/records */ in audit_exe_compare()
|
H A D | audit_fsnotify.c | 141 struct audit_fsnotify_mark *mark = krule->exe; in audit_remove_mark_rule()
|
H A D | sys.c | 1844 struct fd exe; in prctl_set_mm_exe_file() local 1849 exe = fdget(fd); in prctl_set_mm_exe_file() 1850 if (!exe.file) in prctl_set_mm_exe_file() 1853 inode = file_inode(exe.file); in prctl_set_mm_exe_file() 1861 if (!S_ISREG(inode->i_mode) || path_noexec(&exe.file->f_path)) in prctl_set_mm_exe_file() 1891 get_file(exe.file); in prctl_set_mm_exe_file() 1892 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1896 fdput(exe); in prctl_set_mm_exe_file()
|
H A D | audit_tree.c | 554 if (entry->rule.exe) in kill_rules() 555 audit_remove_mark(entry->rule.exe); in kill_rules()
|
H A D | auditsc.c | 500 result = audit_exe_compare(tsk, rule->exe); in audit_filter_rules()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | auditfilter.c | 585 if (entry->rule.exe || f_val > PATH_MAX) in audit_data_to_entry() 599 entry->rule.exe = audit_mark; in audit_data_to_entry() 616 if (entry->rule.exe) in audit_data_to_entry() 617 audit_remove_mark(entry->rule.exe); /* that's the template one */ in audit_data_to_entry() 684 audit_pack_string(&bufp, audit_mark_path(krule->exe)); in audit_krule_to_data() 752 if (strcmp(audit_mark_path(a->exe), in audit_compare_rule() 753 audit_mark_path(b->exe))) in audit_compare_rule() 883 if (new->exe) in audit_dupe_rule() 884 audit_remove_mark(new->exe); in audit_dupe_rule() 1054 if (e->rule.exe) in audit_del_rule() [all...] |
H A D | audit_watch.c | 303 if (oentry->rule.exe) in audit_update_watch() 304 audit_remove_mark(oentry->rule.exe); in audit_update_watch() 333 if (e->rule.exe) in audit_remove_parent_watches() 334 audit_remove_mark(e->rule.exe); in audit_remove_parent_watches() 510 pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL); in audit_dupe_exe() 519 new->exe = audit_mark; in audit_dupe_exe() 530 /* only do exe filtering if we are recording @current events/records */ in audit_exe_compare()
|
H A D | audit_fsnotify.c | 141 struct audit_fsnotify_mark *mark = krule->exe; in audit_remove_mark_rule()
|
H A D | sys.c | 1892 struct fd exe; in prctl_set_mm_exe_file() local 1896 exe = fdget(fd); in prctl_set_mm_exe_file() 1897 if (!exe.file) in prctl_set_mm_exe_file() 1900 inode = file_inode(exe.file); in prctl_set_mm_exe_file() 1908 if (!S_ISREG(inode->i_mode) || path_noexec(&exe.file->f_path)) in prctl_set_mm_exe_file() 1911 err = file_permission(exe.file, MAY_EXEC); in prctl_set_mm_exe_file() 1915 err = replace_mm_exe_file(mm, exe.file); in prctl_set_mm_exe_file() 1917 fdput(exe); in prctl_set_mm_exe_file()
|
H A D | audit_tree.c | 554 if (entry->rule.exe) in kill_rules() 555 audit_remove_mark(entry->rule.exe); in kill_rules()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | buildid.sh | 41 ex_pe=$(dirname $0)/../pe-file.exe 51 *.exe) 83 # in case of pe-file.exe file 84 echo $1 | grep ".exe"
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | condition.c | 239 struct tomoyo_path_info exe; in tomoyo_scan_exec_realpath() local 243 exe.name = tomoyo_realpath_from_path(&file->f_path); in tomoyo_scan_exec_realpath() 244 if (!exe.name) in tomoyo_scan_exec_realpath() 246 tomoyo_fill_path_info(&exe); in tomoyo_scan_exec_realpath() 247 result = tomoyo_compare_name_union(&exe, ptr); in tomoyo_scan_exec_realpath() 248 kfree(exe.name); in tomoyo_scan_exec_realpath()
|
H A D | common.c | 940 const char *exe; in tomoyo_manager() local 951 exe = tomoyo_get_exe(); in tomoyo_manager() 952 if (!exe) in tomoyo_manager() 958 !strcmp(exe, ptr->manager->name))) { in tomoyo_manager() 969 domainname->name, exe); in tomoyo_manager() 973 kfree(exe); in tomoyo_manager() 2816 "aggregator proc:/self/exe /proc/self/exe\n"; in tomoyo_load_builtin_policy()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | condition.c | 239 struct tomoyo_path_info exe; in tomoyo_scan_exec_realpath() local 243 exe.name = tomoyo_realpath_from_path(&file->f_path); in tomoyo_scan_exec_realpath() 244 if (!exe.name) in tomoyo_scan_exec_realpath() 246 tomoyo_fill_path_info(&exe); in tomoyo_scan_exec_realpath() 247 result = tomoyo_compare_name_union(&exe, ptr); in tomoyo_scan_exec_realpath() 248 kfree(exe.name); in tomoyo_scan_exec_realpath()
|
H A D | common.c | 932 const char *exe; in tomoyo_manager() local 943 exe = tomoyo_get_exe(); in tomoyo_manager() 944 if (!exe) in tomoyo_manager() 950 !strcmp(exe, ptr->manager->name))) { in tomoyo_manager() 961 domainname->name, exe); in tomoyo_manager() 965 kfree(exe); in tomoyo_manager() 2809 "aggregator proc:/self/exe /proc/self/exe\n"; in tomoyo_load_builtin_policy()
|
/kernel/liteos_a/tools/scripts/make_rootfs/ |
H A D | rootfsimg.sh | 38 WIN_JFFS2_TOOL=mkfs.jffs2.exe
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol-minimal.c | 356 int file__read_maps(int fd __maybe_unused, bool exe __maybe_unused, in file__read_maps()
|
H A D | symbol.h | 199 int file__read_maps(int fd, bool exe, mapfn_t mapfn, void *data,
|
H A D | symbol-elf.c | 1313 static int elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) in elf_read_maps() argument 1328 if (exe) { in elf_read_maps() 1345 int file__read_maps(int fd, bool exe, mapfn_t mapfn, void *data, in file__read_maps() argument 1358 err = elf_read_maps(elf, exe, mapfn, data); in file__read_maps()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol.h | 195 int file__read_maps(int fd, bool exe, mapfn_t mapfn, void *data,
|
H A D | symbol-minimal.c | 356 int file__read_maps(int fd __maybe_unused, bool exe __maybe_unused, in file__read_maps()
|
H A D | symbol-elf.c | 1789 static int elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) in elf_read_maps() argument 1804 if (exe) { in elf_read_maps() 1821 int file__read_maps(int fd, bool exe, mapfn_t mapfn, void *data, in file__read_maps() argument 1834 err = elf_read_maps(elf, exe, mapfn, data); in file__read_maps()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | audit.h | 52 struct audit_fsnotify_mark *exe; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | audit.h | 54 struct audit_fsnotify_mark *exe; member
|