commit ce8290cefcbef1a291a08a7d2dabf2212ce04c24
parent 8a39d1819606b81664218c890f5d6e60108e4a55
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 9 Jun 2020 17:07:23 +0200
Add missing test for SYS_stat, fixes the build on arm64.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/keymgr.c b/src/keymgr.c
@@ -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),