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 f8accef3f71f8b5c04e30abcb8dc0c2aba327a72
parent f6cd16c567cca9ce22169f44d500f58677d4d1a0
Author: Joris Vink <joris@coders.se>
Date:   Fri, 15 Nov 2019 09:28:33 +0100

allow access/accessat at all times in keymgr.

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

diff --git a/src/keymgr.c b/src/keymgr.c @@ -85,6 +85,10 @@ static struct sock_filter filter_keymgr[] = { KORE_SYSCALL_ALLOW(futex), KORE_SYSCALL_ALLOW(writev), KORE_SYSCALL_ALLOW(openat), +#if defined(SYS_access) + KORE_SYSCALL_ALLOW(access), +#endif + KORE_SYSCALL_ALLOW(faccessat), /* Net related. */ #if defined(SYS_poll) @@ -126,10 +130,6 @@ static struct sock_filter filter_keymgr[] = { #endif KORE_SYSCALL_ALLOW(mkdirat), KORE_SYSCALL_ALLOW(umask), -#if defined(SYS_access) - KORE_SYSCALL_ALLOW(access), -#endif - KORE_SYSCALL_ALLOW(faccessat), #endif }; #endif