aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clog.c5
1 files changed, 5 insertions, 0 deletions
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 <kore/kore.h>
#include <kore/http.h>
#include <kore/pgsql.h>
+#include <kore/seccomp.h>
#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 *);