An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit f637d617aa87cf508c81f145a6fb8466fe229ce0
parent 99763d520b5202651d3373549dbe8156db4a7ee6
Author: Joris Vink <joris@coders.se>
Date:   Wed, 23 Oct 2019 15:01:31 +0200

Allow SECCOMP_KILL_POLICY to be overwritten at build.

src/seccomp.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/seccomp.c b/src/seccomp.c @@ -35,11 +35,13 @@ #include "python_api.h" #endif +#if !defined(SECCOMP_KILL_POLICY) #if defined(KORE_DEBUG) #define SECCOMP_KILL_POLICY SECCOMP_RET_TRAP #else #define SECCOMP_KILL_POLICY SECCOMP_RET_KILL #endif +#endif /* * The bare minimum to be able to run kore. These are added last and can