add 2 more missing syscalls for musl to keymgr.

This commit is contained in:
Joris Vink 2019-09-26 10:20:30 +02:00
parent 9dc12af1a4
commit 4ed6136693
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ static struct sock_filter filter_keymgr[] = {
KORE_SYSCALL_ALLOW(sendto),
KORE_SYSCALL_ALLOW(recvfrom),
KORE_SYSCALL_ALLOW(epoll_wait),
KORE_SYSCALL_ALLOW(epoll_pwait),
/* Process things. */
KORE_SYSCALL_ALLOW(exit),
@ -86,6 +87,7 @@ static struct sock_filter filter_keymgr[] = {
KORE_SYSCALL_ALLOW(rt_sigprocmask),
/* Other things. */
KORE_SYSCALL_ALLOW(brk),
KORE_SYSCALL_ALLOW(mmap),
KORE_SYSCALL_ALLOW(munmap),
#if defined(__NR_getrandom)