Home
last modified time | relevance | path

Searched refs:gate_vma (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/um/
H A Dmem_32.c9 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 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
20 gate_vma.vm_page_prot = __P101; in gate_vma_init()
28 return FIXADDR_USER_START ? &gate_vma : NULL; in get_gate_vma()
/kernel/linux/linux-6.6/arch/x86/um/
H A Dmem_32.c9 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()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dprocess.c312 * atomic helpers. Insert it into the gate_vma so that it is visible
315 static struct vm_area_struct gate_vma; variable
319 vma_init(&gate_vma, NULL); in gate_vma_init()
320 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()
321 gate_vma.vm_start = 0xffff0000; in gate_vma_init()
322 gate_vma.vm_end = 0xffff0000 + PAGE_SIZE; in gate_vma_init()
323 gate_vma.vm_flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC; in gate_vma_init()
330 return &gate_vma; in get_gate_vma()
335 return (addr >= gate_vma.vm_start) && (addr < gate_vma in in_gate_area()
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dprocess.c306 * atomic helpers. Insert it into the gate_vma so that it is visible
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 in in_gate_area()
[all...]
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dinit.c282 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()
/kernel/linux/linux-5.10/fs/
H A Dcoredump.c1066 struct vm_area_struct *gate_vma) in first_vma()
1072 return gate_vma; in first_vma()
1077 * will visit `gate_vma' prior to terminating the search.
1080 struct vm_area_struct *gate_vma) in next_vma()
1087 if (this_vma == gate_vma) in next_vma()
1089 return gate_vma; in next_vma()
1112 struct vm_area_struct *vma, *gate_vma; in dump_vma_snapshot() local
1125 gate_vma = get_gate_vma(mm); in dump_vma_snapshot()
1126 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
1134 for (i = 0, vma = first_vma(current, gate_vma); vm in dump_vma_snapshot()
1065 first_vma(struct task_struct *tsk, struct vm_area_struct *gate_vma) first_vma() argument
1079 next_vma(struct vm_area_struct *this_vma, struct vm_area_struct *gate_vma) next_vma() argument
[all...]
/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dinit.c274 static struct vm_area_struct gate_vma; variable
278 vma_init(&gate_vma, NULL); in gate_vma_init()
279 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
280 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
281 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
282 gate_vma.vm_page_prot = __P101; in gate_vma_init()
290 return &gate_vma; in get_gate_vma()
/kernel/linux/linux-5.10/arch/x86/entry/vsyscall/
H A Dvsyscall_64.c308 static struct vm_area_struct gate_vma __ro_after_init = {
324 return &gate_vma; in get_gate_vma()
393 gate_vma.vm_flags = VM_EXEC; in map_vsyscall()
/kernel/linux/linux-6.6/arch/x86/entry/vsyscall/
H A Dvsyscall_64.c309 static struct vm_area_struct gate_vma __ro_after_init = {
325 return &gate_vma; in get_gate_vma()
394 vm_flags_init(&gate_vma, VM_EXEC); in map_vsyscall()
/kernel/linux/linux-6.6/fs/
H A Dcoredump.c1112 * will visit `gate_vma' prior to terminating the search.
1116 struct vm_area_struct *gate_vma) in coredump_next_vma()
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()
1114 coredump_next_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, struct vm_area_struct *gate_vma) coredump_next_vma() argument

Completed in 8 milliseconds