mirror of
https://passt.top/passt
synced 2024-12-23 06:05:23 +00:00
66a95e331e
Pass to seccomp.sh a list of additional syscalls valgrind needs as EXTRA_SYSCALLS in a new 'valgrind' make target, and add corresponding support in seccomp.sh itself. In test setup functions, start passt with valgrind, but not for performance tests. Add tests checking that valgrind exits without errors after all the other tests in the group are done. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
10 lines
214 B
Plaintext
10 lines
214 B
Plaintext
# tcp_sock_consume() calls recv() with MSG_TRUNC and no buffer to discard data
|
|
{
|
|
passt_recv_MSG_TRUNC_into_NULL_buffer
|
|
Memcheck:Param
|
|
socketcall.recvfrom(buf)
|
|
fun:recv
|
|
...
|
|
fun:tcp_sock_consume*
|
|
}
|