commit cc6ab4f05d914b76321d34d3bc4b2bc06f32396a
parent 4115df69f651d034a47deb93e7c316523f00ec7e
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 13 Feb 2020 14:32:44 +0100
Allow the stat syscall in keymgr, it is used in keymgr_save_randfile().
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/keymgr.c b/src/keymgr.c
@@ -81,6 +81,7 @@ static struct sock_filter filter_keymgr[] = {
KORE_SYSCALL_ALLOW(lseek),
KORE_SYSCALL_ALLOW(write),
KORE_SYSCALL_ALLOW(close),
+ KORE_SYSCALL_ALLOW(stat),
KORE_SYSCALL_ALLOW(fstat),
KORE_SYSCALL_ALLOW(futex),
KORE_SYSCALL_ALLOW(writev),