kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d4a78de5fcb8431dc85b8a77475c3ff501d05e16
parent 12909b98bbb2c120d547949163f810a302fedff9
Author: Joris Vink <joris@coders.se>
Date:   Mon, 10 May 2021 14:51:30 +0200

Add madvise to keymgr seccomp rules.

Diffstat:
src/keymgr.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/keymgr.c b/src/keymgr.c @@ -138,6 +138,9 @@ static struct sock_filter filter_keymgr[] = { #if defined(SYS_mmap2) KORE_SYSCALL_ALLOW(mmap2), #endif +#if defined(SYS_madvise) + KORE_SYSCALL_ALLOW(madvise), +#endif KORE_SYSCALL_ALLOW(munmap), KORE_SYSCALL_ALLOW(clock_gettime), #if defined(__NR_getrandom)