Date: Wed, 02 Apr 2025 16:25:49 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 285851] sys.kern.ktrace_test.ktrace__cap_sockaddr: has been failing for the past few weeks Message-ID: <bug-285851-7501-WQ0Rc0F0LZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-285851-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-285851-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285851 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dce9c4673829561bf66c78577be2b078d5= 662a33b 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 nor= mal ATF_REQUIRE() instead of CHILD_REQUIRE(). PR: 285851 Fixes: 3b281d1421a78b588c5fc4182009ce62d8823d95 tests/sys/kern/ktrace_test.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285851-7501-WQ0Rc0F0LZ>
