aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-15 15:21:33 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:42 +0200
commit05dc1c65c11c05709ebde73e74d91fd29226ba9c (patch)
tree9e83afe12cee54dd6ebdcbe32592c7f32f4f2aea /Makefile
parentd9894e8214321ce24f0d3c2223f1557663c729b7 (diff)
downloadpasst-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar.gz
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar.bz2
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar.lz
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar.xz
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.tar.zst
passt-05dc1c65c11c05709ebde73e74d91fd29226ba9c.zip
valgrind needs futex
Some versions of valgrind (such as the version on my Fedora laptop - valgrind-3.19.0-3.fc36.x86_64) use futexes. But futex is currently not allowed in the seccomp filter, even with the extra calls added for valgrind builds. Add it, to avoid spurious valgrind failures. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6f7c971..0de872e 100644
--- a/Makefile
+++ b/Makefile
@@ -115,7 +115,7 @@ qrap: $(QRAP_SRCS) passt.h
valgrind: EXTRA_SYSCALLS="rt_sigprocmask rt_sigtimedwait rt_sigaction \
getpid gettid kill clock_gettime mmap munmap open \
- unlink gettimeofday"
+ unlink gettimeofday futex"
valgrind: CFLAGS:=-g -O0 $(filter-out -O%,$(CFLAGS))
valgrind: all