From ea8676066c1b87565149222ebe1a17c6905aa7d7 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 10 Mar 2022 17:41:15 -0500 Subject: seccomp --- src/clog.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/clog.c b/src/clog.c index 7bf6012..b62b4f4 100644 --- a/src/clog.c +++ b/src/clog.c @@ -1,6 +1,7 @@ #include #include #include +#include #include "assets.h" @@ -11,6 +12,10 @@ #include "../lib/md4c/src/md4c-html.h" #include "../lib/md4c/src/md4c-html.c" +KORE_SECCOMP_FILTER("app", + KORE_SYSCALL_ALLOW(getdents64) +) + int init(int); int post(struct http_request *); int posts(struct http_request *); -- cgit v1.2.3