ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 8b4418d05bd49ea9a0f1f33a950313d30d26d8cf
parent 4f4f581cfa13b41552011ee449f40961a1fe9da8
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 17 Sep 2020 11:39:49 +0200

Add missing test for __NR_mmap, the mmap syscall doesn't exist on arm.

Diffstat:
Msrc/seccomp.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/seccomp.h b/src/seccomp.h @@ -64,7 +64,9 @@ static struct sock_filter filter[] = { #endif ANSILOVE_SYSCALL_ALLOW(openat), ANSILOVE_SYSCALL_ALLOW(madvise), +#if defined(__NR_mmap) ANSILOVE_SYSCALL_ALLOW(mmap), +#endif #if defined(__NR_mmap2) ANSILOVE_SYSCALL_ALLOW(mmap2), /* i386 glibc */ #endif