Allow the stat syscall in keymgr, it is used in keymgr_save_randfile().

This commit is contained in:
Frederic Cambus 2020-02-13 14:32:44 +01:00 committed by Joris Vink
parent 4115df69f6
commit cc6ab4f05d

View File

@ -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),