mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Add syscall sandboxing (seccomp-bpf)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <netaddress.h>
|
||||
#include <netbase.h>
|
||||
#include <threadinterrupt.h>
|
||||
#include <util/syscall_sandbox.h>
|
||||
#include <util/system.h>
|
||||
#include <util/thread.h>
|
||||
|
||||
@@ -222,6 +223,7 @@ static bool ProcessUpnp()
|
||||
|
||||
static void ThreadMapPort()
|
||||
{
|
||||
SetSyscallSandboxPolicy(SyscallSandboxPolicy::INITIALIZATION_MAP_PORT);
|
||||
bool ok;
|
||||
do {
|
||||
ok = false;
|
||||
|
||||
Reference in New Issue
Block a user