forked from mirrors/kore
Allow SECCOMP_KILL_POLICY to be overwritten at build.
This commit is contained in:
parent
99763d520b
commit
f637d617aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue