kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

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:
src/keymgr.c | 1+
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),