mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-27 16:05:39 +01:00
init: Disable syscall sandbox in the bitcoin-qt process
This commit is contained in:
@@ -823,7 +823,6 @@ bool SetupSyscallSandbox(bool log_syscall_violation_before_terminating)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
SetSyscallSandboxPolicy(SyscallSandboxPolicy::INITIALIZATION);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,9 +45,6 @@ void SetSyscallSandboxPolicy(SyscallSandboxPolicy syscall_policy);
|
||||
|
||||
#if defined(USE_SYSCALL_SANDBOX)
|
||||
//! Setup and enable the experimental syscall sandbox for the running process.
|
||||
//!
|
||||
//! SetSyscallSandboxPolicy(SyscallSandboxPolicy::INITIALIZATION) is called as part of
|
||||
//! SetupSyscallSandbox(...).
|
||||
[[nodiscard]] bool SetupSyscallSandbox(bool log_syscall_violation_before_terminating);
|
||||
|
||||
//! Invoke a disallowed syscall. Use for testing purposes.
|
||||
|
||||
Reference in New Issue
Block a user