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>
This commit is contained in:
parent
d9894e8214
commit
05dc1c65c1
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue