[Bug 285851] sys.kern.ktrace_test.ktrace__cap_sockaddr: has been failing for the past few weeks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Apr 2025 16:25:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285851
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=ce9c4673829561bf66c78577be2b078d5662a33b
commit ce9c4673829561bf66c78577be2b078d5662a33b
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-04-02 16:21:04 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-04-02 16:25:01 +0000
ktrace tests: don't use INADDR_ANY as a destination for sendto(2)
The INADDR_ANY is a broadcast address, and with recent changes its use as
destination for UDP sendto(2) was disallowed unless SO_BROADCAST is set.
Use just a localhost address for a successful sendto(2).
While here convert a couple checks that happen in the parent to use normal
ATF_REQUIRE() instead of CHILD_REQUIRE().
PR: 285851
Fixes: 3b281d1421a78b588c5fc4182009ce62d8823d95
tests/sys/kern/ktrace_test.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.