From 2b1882f00a5b60b003891ce0e9d3440732538a1a Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Fri, 4 Jun 2021 18:14:11 +1000 Subject: [PATCH] allocate without locking (locked mem is limited) --- stdio.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio.asm b/stdio.asm index 12c0ed4..191e098 100644 --- a/stdio.asm +++ b/stdio.asm @@ -11,7 +11,7 @@ push qword 0 ; address of mapping (suggestion) push rax ; length of mapping push qword 3 ; protection mode PROT_READ | PROT_WRITE - push qword 8226 ; flags PRIVATE | ANONYMOUS | LOCKED + push qword 34 ; flags PRIVATE | ANONYMOUS push qword -1 ; fd -1 push qword 0 ; offset jmp sys_mmap_asm ; exit via sys_mmap -- 2.39.2