Home
last modified time | relevance | path

Searched refs:VM_SHADOW_STACK (Results 1 – 16 of 16) sorted by relevance

/linux/arch/x86/mm/
H A Dpgtable.c804 if (vma->vm_flags & VM_SHADOW_STACK) in pte_mkwrite()
814 if (vma->vm_flags & VM_SHADOW_STACK) in pmd_mkwrite()
831 VM_WARN_ON_ONCE(!(vma->vm_flags & VM_SHADOW_STACK) && in arch_check_zapped_pte()
838 VM_WARN_ON_ONCE(!(vma->vm_flags & VM_SHADOW_STACK) && in arch_check_zapped_pmd()
845 VM_WARN_ON_ONCE(!(vma->vm_flags & VM_SHADOW_STACK) && pud_shstk(pud)); in arch_check_zapped_pud()
H A Dfault.c1090 if (unlikely(!(vma->vm_flags & VM_SHADOW_STACK))) in access_error()
1099 if (unlikely(vma->vm_flags & VM_SHADOW_STACK)) in access_error()
/linux/arch/arm64/include/asm/
H A Dmman.h82 if (system_supports_gcs() && (vm_flags & VM_SHADOW_STACK)) { in arch_validate_flags()
/linux/arch/arm64/mm/
H A Dmmap.c89 if (system_supports_gcs() && (vm_flags & VM_SHADOW_STACK)) { in vm_get_page_prot()
H A Dgcs.c24 VM_SHADOW_STACK | VM_WRITE, 0, &unused, NULL); in alloc_gcs()
H A Dfault.c542 if (!(vma->vm_flags & VM_SHADOW_STACK)) in is_invalid_gcs_access()
544 } else if (unlikely(vma->vm_flags & VM_SHADOW_STACK)) { in is_invalid_gcs_access()
/linux/tools/testing/vma/
H A Dvma_internal.h69 #define VM_SHADOW_STACK VM_NONE macro
101 #define VM_STARTGAP_FLAGS (VM_GROWSDOWN | VM_SHADOW_STACK)
625 (((flags & VM_STACK) == VM_STACK) || (flags & VM_SHADOW_STACK))
1133 if (vma->vm_flags & VM_SHADOW_STACK) in stack_guard_start_gap()
/linux/arch/x86/kernel/
H A Dshstk.c112 VM_SHADOW_STACK | VM_WRITE, 0, &unused, NULL); in alloc_shstk()
362 if (!vma || !(vma->vm_flags & VM_SHADOW_STACK)) { in shstk_pop_sigframe()
H A Dsys_x86_64.c120 if (vm_flags & VM_SHADOW_STACK) in stack_guard_placement()
/linux/include/linux/
H A Dmm.h372 # define VM_SHADOW_STACK VM_HIGH_ARCH_5 macro
380 # define VM_SHADOW_STACK VM_HIGH_ARCH_6 macro
383 #ifndef VM_SHADOW_STACK
384 # define VM_SHADOW_STACK VM_NONE macro
471 #define VM_STARTGAP_FLAGS (VM_GROWSDOWN | VM_SHADOW_STACK)
3545 if (vma->vm_flags & VM_SHADOW_STACK) in stack_guard_start_gap()
/linux/mm/
H A Dvma.h389 return ((flags & VM_STACK) == VM_STACK) || (flags & VM_SHADOW_STACK); in is_stack_mapping()
H A Dmmap.c648 if (vm_flags & VM_SHADOW_STACK) in stack_guard_placement()
H A Duserfaultfd.c1563 VM_MIXEDMAP | VM_SHADOW_STACK)); in vma_move_compatible()
H A Dgup.c1227 if (!(vm_flags & VM_WRITE) || (vm_flags & VM_SHADOW_STACK)) { in check_vma_flags()
/linux/Documentation/arch/x86/
H A Dshstk.rst160 The shadow stack's vma has VM_SHADOW_STACK flag set; its PTEs are required
/linux/fs/proc/
H A Dtask_mmu.c1195 [ilog2(VM_SHADOW_STACK)] = "ss", in show_smap_vma_flags()