]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
sandbox: Allow backtrace signals to be disabled
authorteor <teor@torproject.org>
Tue, 24 Sep 2019 03:51:38 +0000 (13:51 +1000)
committerteor <teor@torproject.org>
Thu, 26 Sep 2019 02:22:30 +0000 (12:22 +1000)
Part of 31614.

src/lib/sandbox/sandbox.c

index e2356a1720952db296726f9a0192057361b82d15..5c02c012e85531fa3a51e2a3c69fee8ed2a2fc12 100644 (file)
@@ -295,6 +295,7 @@ sb_rt_sigaction(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
   unsigned i;
   int rc;
   int param[] = { SIGINT, SIGTERM, SIGPIPE, SIGUSR1, SIGUSR2, SIGHUP, SIGCHLD,
+                  SIGSEGV, SIGILL, SIGFPE, SIGBUS, SIGSYS, SIGIO,
 #ifdef SIGXFSZ
       SIGXFSZ
 #endif