aboutsummaryrefslogtreecommitdiffstats
path: root/executor/subprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/subprocess.h')
-rw-r--r--executor/subprocess.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/executor/subprocess.h b/executor/subprocess.h
index ef4bd9656..4477cc482 100644
--- a/executor/subprocess.h
+++ b/executor/subprocess.h
@@ -40,8 +40,10 @@ public:
fail("posix_spawnattr_setflags failed");
const char* child_envp[] = {
- // Tell ASAN to not mess with our NONFAILING.
- "ASAN_OPTIONS=handle_segv=0 allow_user_segv_handler=1",
+ // Tell ASAN to not mess with our NONFAILING and disable leak checking
+ // (somehow lsan is very slow in syzbot arm64 image and we are not very interested
+ // in leaks in the exec subprocess, it does not use malloc/new anyway).
+ "ASAN_OPTIONS=handle_segv=0 allow_user_segv_handler=1 detect_leaks=0",
// Disable rseq since we don't use it and we want to [ab]use it ourselves for kernel testing.
"GLIBC_TUNABLES=glibc.pthread.rseq=0",
nullptr};