[Bug 285851] sys.kern.ktrace_test.ktrace__cap_sockaddr: has been failing for the past few weeks

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285851

--- Comment #3 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ce9c4673829561bf66c78577be2b078d5662a33b

commit ce9c4673829561bf66c78577be2b078d5662a33b
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2025-04-02 16:21:04 +0000
Commit:     Gleb Smirnoff <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.