| /kernel/linux/common_modules/xpm/core/ |
| D | xpm_security_hooks.c | 214 static int xpm_check_code_segment(bool is_exec, struct vm_area_struct *vma, in xpm_check_code_segment() argument 222 if (!is_exec) in xpm_check_code_segment() 248 bool is_exec; in xpm_check_signature() local 252 is_exec = !xpm_is_anonymous_vma(vma) && (prot & PROT_EXEC); in xpm_check_signature() 253 if (!((vma->vm_flags & VM_XPM) || is_exec)) in xpm_check_signature() 261 ret = get_exec_file_signature_info(vma->vm_file, is_exec, &info); in xpm_check_signature() 263 report_mmap_event(GET_SIGN_FAIL, is_exec ? TYPE_ELF : TYPE_ABC, in xpm_check_signature() 272 is_exec ? TYPE_ELF : TYPE_ABC, vma, prot); in xpm_check_signature() 276 ret = xpm_check_code_segment(is_exec, vma, info); in xpm_check_signature() 279 is_exec ? TYPE_ELF : TYPE_ABC, vma, prot); in xpm_check_signature() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/ |
| D | fault.c | 199 int is_exec = TRAP(regs) == 0x400; in bad_kernel_fault() local 201 if (is_exec) { in bad_kernel_fault() 211 if (!is_exec && address < TASK_SIZE && (error_code & DSISR_PROTFAULT) && in bad_kernel_fault() 237 static bool access_pkey_error(bool is_write, bool is_exec, bool is_pkey, in access_pkey_error() argument 245 if (!arch_vma_access_permitted(vma, is_write, is_exec, 0)) in access_pkey_error() 252 static bool access_error(bool is_write, bool is_exec, struct vm_area_struct *vma) in access_error() argument 264 if (is_exec) { in access_error() 395 int is_exec = TRAP(regs) == 0x400; in __do_page_fault() local 451 if (is_exec) in __do_page_fault() 497 if (unlikely(access_pkey_error(is_write, is_exec, in __do_page_fault() [all …]
|
| /kernel/linux/linux-5.10/arch/xtensa/mm/ |
| D | fault.c | 43 int is_write, is_exec; in do_page_fault() local 64 is_exec = (exccause == EXCCAUSE_ITLB_PRIVILEGE || in do_page_fault() 71 is_write ? "w" : "", is_exec ? "x" : ""); in do_page_fault() 102 } else if (is_exec) { in do_page_fault()
|
| /kernel/linux/common_modules/xpm/validator/ |
| D | exec_signature_info.c | 270 static int check_exec_file_is_verity(struct file *file, bool is_exec) in check_exec_file_is_verity() argument 281 if (is_exec && !elf_file_enable_fs_verity(file)) in check_exec_file_is_verity() 498 static int get_elf_code_segment_info(struct file *file, bool is_exec, int type, in get_elf_code_segment_info() argument 518 if (is_exec && old_info->code_segments == NULL) in get_elf_code_segment_info() 528 if (!is_exec) { in get_elf_code_segment_info() 552 int get_exec_file_signature_info(struct file *file, bool is_exec, in get_exec_file_signature_info() argument 560 type = check_exec_file_is_verity(file, is_exec); in get_exec_file_signature_info() 561 return get_elf_code_segment_info(file, is_exec, type, info_ptr); in get_exec_file_signature_info()
|
| D | exec_signature_info.h | 55 int get_exec_file_signature_info(struct file *file, bool is_exec, struct exec_file_signature_info *…
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
| D | hash_utils.c | 1583 bool is_exec, unsigned long trap) in hash_preload() argument 1588 unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0); in hash_preload() 1687 bool is_exec; in update_mmu_cache() local 1708 is_exec = false; in update_mmu_cache() 1711 is_exec = true; in update_mmu_cache() 1717 hash_preload(vma->vm_mm, ptep, address, is_exec, trap); in update_mmu_cache()
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | unwind-libunwind-local.c | 409 int is_exec = elf_is_exec(fd, map->dso->name); in find_proc_info() local 410 unw_word_t base = is_exec ? 0 : map->start; in find_proc_info()
|
| /kernel/linux/linux-5.10/fs/fat/ |
| D | inode.c | 469 static int is_exec(unsigned char *extension) in is_exec() function 547 ((sbi->options.showexec && !is_exec(de->name + 8)) in fat_fill_inode()
|