Add syscall sandboxing (seccomp-bpf)

This commit is contained in:
practicalswift committed 2021-10-01 13:51:10 +00:00
1 parent e69cbac628
commit 4747da3a5b
27 files changed
+1125 -1

No files matched your search

+3
View File
@@ -27,6 +27,9 @@ class NotificationsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 2
self.setup_clean_chain = True
# The experimental syscall sandbox feature (-sandbox) is not compatible with -alertnotify,
# -blocknotify or -walletnotify (which all invoke execve).
self.disable_syscall_sandbox = True
def setup_network(self):
self.wallet = ''.join(chr(i) for i in range(FILE_CHAR_START, FILE_CHAR_END) if chr(i) not in FILE_CHARS_DISALLOWED)