contrib/netbsd-tests: lib/libc/c063: sync with NetBSD
This change syncs the lib/libc/c063 NetBSD tests with FreeBSD. This does
two things:
- Addresses bogus tautologically true assertions flagged by clang and gcc
with ATF 0.22+ [1].
- Brings in some new test coverage.
Obtained from: NetBSD (date tag: `20260818UTC`)
MFC after: 2 weeks
1. https://github.com/freebsd/atf/pull/72
[MLIR][NVVM] Enable strict property assembly format (#196289)
Enable strict property assembly format mode for the NVVM dialect and
update custom assembly formats to expose property dictionaries explicitly.
Refresh NVVM tests so inherent operation properties are printed and
parsed through the property dictionary while non-property attributes
remain in the attribute dictionary.
Assisted-by: Codex
[libc] Convert test framework libraries to standard target infrastructure (#216931)
This makes the test libraries use the same patterns as the regular libc
code. This includes using dot-separated names of libraries and explicit
dependency tracking (although this patch does not make use that yet).
Since this changes the name of the libraries anyway, I took the
opportunity to rename some of them: libraries containing only a single
file now have the same name as that file.
This also resolves the dependency issues in hermetic tests, as
everything now gets packaged into the same .a library (the library
itself could also be removed, but I'm saving that for another patch).
Other changes include:
- moving the C test framework to a separate library, to avoid it getting
pulled in (and causing undefined references) when not used
- moving sched_test's static_assert into a TEST, as the test framework
requires having at least one test. The trick with overriding main() no
[5 lines not shown]
pf(4): connection counter for source track must use atomic_{inc,_dec}()
The connection counter is advanced when on state transition from
SYN_SENT to ESTABLISHED. That code in pf(4) currently runs with
no locks. If two packets happen to share the same source tracking
node, the race may occur. Two packets try to advance connection
counter simultaneously but only one operation is observed.
There is similar race between packet and timer that removes
expired state entry, the timer drops the connection count for
the source tracking entry while packet does opposite.
The result of those races may lead to connection counter underflow.
The issue was investigated and kindly reported by
Janak Trivedi <janakktrivedi _at_ gmail _dot_ com>
Feedback and suggestions by bluhm@
OK @bluhm
[libc] Refactor thread.h (#216943)
- extract ThreadAttributes and related types into a separate header.
This is to allow it to be referenced from other places (like the thread
control block structure I am planning to introduce) without pulling in
the higher level dependencies and without circular includes.
- move `self` into the internal namespace and provide a
`current_thread()` accessor, preparing the code to store the thread
pointer inside the thread control block.
[SCEV] Take SCEVUse in the extend/truncate builders. (#216761)
Updated getTruncateExpr and get{Zero,Sign}ExtendExpr(Impl) to take
SCEVUse instead of const SCEV*.
Currently a no-op, as no in-tree user sets use-specific flags yet.
PR: https://github.com/llvm/llvm-project/pull/216761
[mlir][Interfaces] Use `areTypesCompatible` instead of `mayForwardTypeToSuccessor` (#216471)
This is a follow-up for #215036. The new `mayForwardTypeToSuccessor`
interface method is not needed. The existing `areTypesCompatible`
interface method can be used. If a type is not supported by a branch op,
`areTypesCompatible(x, x)` can return "false".
Assisted-by: Cursor
net/samba423: fix lmdb depends
Fix the lmdb depends that was previously commited, we should use
lmdb0 instead of lmdb..
PR: 296559
Approved by: samba (kiwi)
[libc] Assorted improvements to FixedVector (#217010)
- Assert that the stored type is trivially copyable (as other types are
broken in various ways)
- remove UB in dereferencing the past-the-end array element
- remove the non-const_iterator constructor (as it is subsumed by the
const_iterator version)
devel/javax-activation-api: Limit portscout to the javax branch
The Maven directory this port fetches from also holds 2.x, which is the
jakarta namespace and already packaged as devel/jakarta-activation-api,
not an update.
Sponsored by: Netzkommune GmbH
devel/jaxb-api: Limit portscout to the javax branch
The Maven directory this port fetches from also holds 3.x and 4.x, which
are the switch to the jakarta.xml.bind namespace, not updates.
security/dogtag-pki needs the javax one.
Sponsored by: Netzkommune GmbH
devel/jackson-databind: Update to 2.19.0
Part of a lockstep update of the Jackson family: the ports depend on each
other by jar path without version constraints, so they have to stay on the
same version.
Changes: https://github.com/FasterXML/jackson-databind/blob/2.19/release-notes/VERSION-2.x
Sponsored by: Netzkommune GmbH
devel/jackson-core: Update to 2.19.0
Part of a lockstep update of the Jackson family: the ports depend on each
other by jar path without version constraints, so they have to stay on the
same version.
Changes: https://github.com/FasterXML/jackson-core/blob/2.19/release-notes/VERSION-2.x
Sponsored by: Netzkommune GmbH