commit 4df120704db7a29884ed8dfe7e10b384ec0e3117
parent ff5a3982cec8ab5eeabf487788663a2097fd2ea1
Author: Joris Vink <joris@sanctorum.se>
Date: Tue, 28 Nov 2023 09:23:08 +0100
Add stat64() to keymgr seccomp whitelist.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/keymgr_openssl.c b/src/keymgr_openssl.c
@@ -105,6 +105,9 @@ static struct sock_filter filter_keymgr[] = {
KORE_SYSCALL_ALLOW(stat),
#endif
KORE_SYSCALL_ALLOW(fstat),
+#if defined(SYS_stat64)
+ KORE_SYSCALL_ALLOW(stat64),
+#endif
#if defined(SYS_fstat64)
KORE_SYSCALL_ALLOW(fstat64),
#endif