Add missing test for SYS_stat, fixes the build on arm64.

This commit is contained in:
Frederic Cambus 2020-06-09 17:07:23 +02:00 committed by Joris Vink
parent 8a39d18196
commit ce8290cefc
1 changed files with 2 additions and 0 deletions

View File

@ -81,7 +81,9 @@ static struct sock_filter filter_keymgr[] = {
KORE_SYSCALL_ALLOW(lseek),
KORE_SYSCALL_ALLOW(write),
KORE_SYSCALL_ALLOW(close),
#if defined(SYS_stat)
KORE_SYSCALL_ALLOW(stat),
#endif
KORE_SYSCALL_ALLOW(fstat),
KORE_SYSCALL_ALLOW(futex),
KORE_SYSCALL_ALLOW(writev),