Searched refs:gate_vma (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/x86/um/ |
H A D | mem_32.c | 9 static struct vm_area_struct gate_vma; variable 16 vma_init(&gate_vma, NULL); in gate_vma_init() 17 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init() 18 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init() 19 vm_flags_init(&gate_vma, VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC); in gate_vma_init() 20 gate_vma.vm_page_prot = PAGE_READONLY; in gate_vma_init() 28 return FIXADDR_USER_START ? &gate_vma : NULL; in get_gate_vma()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | process.c | 309 static struct vm_area_struct gate_vma; variable 313 vma_init(&gate_vma, NULL); in gate_vma_init() 314 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init() 315 gate_vma.vm_start = 0xffff0000; in gate_vma_init() 316 gate_vma.vm_end = 0xffff0000 + PAGE_SIZE; in gate_vma_init() 317 vm_flags_init(&gate_vma, VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC); in gate_vma_init() 324 return &gate_vma; in get_gate_vma() 329 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area() 336 #define is_gate_vma(vma) ((vma) == &gate_vma)
|
/openbmc/linux/arch/ia64/mm/ |
H A D | init.c | 282 static struct vm_area_struct gate_vma; variable 286 vma_init(&gate_vma, NULL); in gate_vma_init() 287 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init() 288 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init() 289 vm_flags_init(&gate_vma, VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC); in gate_vma_init() 290 gate_vma.vm_page_prot = __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX); in gate_vma_init() 298 return &gate_vma; in get_gate_vma()
|
/openbmc/linux/arch/x86/entry/vsyscall/ |
H A D | vsyscall_64.c | 285 static struct vm_area_struct gate_vma __ro_after_init = { 301 return &gate_vma; in get_gate_vma() 370 vm_flags_init(&gate_vma, VM_EXEC); in map_vsyscall()
|
/openbmc/linux/fs/ |
H A D | coredump.c | 1116 struct vm_area_struct *gate_vma) in coredump_next_vma() argument 1118 if (gate_vma && (vma == gate_vma)) in coredump_next_vma() 1124 return gate_vma; in coredump_next_vma() 1147 struct vm_area_struct *gate_vma, *vma = NULL; in dump_vma_snapshot() local 1161 gate_vma = get_gate_vma(mm); in dump_vma_snapshot() 1162 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot() 1170 while ((vma = coredump_next_vma(&vmi, vma, gate_vma)) != NULL) { in dump_vma_snapshot()
|