diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-03-10 17:41:15 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-03-10 17:44:23 -0500 |
commit | ea8676066c1b87565149222ebe1a17c6905aa7d7 (patch) | |
tree | 59c19209c2daa915cc1636974e924ebbf669abff /src | |
parent | 27384b1735cc558614ccfc3b9cac89bcd5869b4d (diff) |
seccomp
Diffstat (limited to 'src')
-rw-r--r-- | src/clog.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 *); |