]> git.ipfire.org Git - thirdparty/valgrind.git/commit
FreeBSD syscall: improve sigwait and sigwaitinfo wrapper.
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 24 Jul 2025 20:45:01 +0000 (22:45 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 24 Jul 2025 20:45:01 +0000 (22:45 +0200)
commit359e33acaf8cded1312e75709b91d4f8156ae574
tree61b4a0b96d82a079981835d256533976ceb7297d
parent0369a3b9c7dd216b660615d91ae3836f69d674fa
FreeBSD syscall: improve sigwait and sigwaitinfo wrapper.

Both take two pointers. We were allowing null pointers for all
of them. Only the 2nd argument of sigwaitinfo, info, is
allowed to be NULL. Update the scalar test with some NULL
arguments for these syscalls.
coregrind/m_syswrap/syswrap-freebsd.c
memcheck/tests/freebsd/scalar.c
memcheck/tests/freebsd/scalar.stderr.exp