kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 85981e22ccea81d777aa80c8c8761bdeeaff86ef
parent 5e6a8d42cf689c0bed755ccf2e1573dc6b5b018d
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 29 Sep 2019 21:11:11 +0200

Allow the nanosleep syscall, it is used in kore_accesslog().

Diffstat:
src/seccomp.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/seccomp.c b/src/seccomp.c @@ -69,6 +69,7 @@ static struct sock_filter filter_kore[] = { KORE_SYSCALL_ALLOW(getuid), KORE_SYSCALL_ALLOW(geteuid), KORE_SYSCALL_ALLOW(exit_group), + KORE_SYSCALL_ALLOW(nanosleep), /* Memory related. */ KORE_SYSCALL_ALLOW(brk),