filesystems/py-tahoe-lafs: Refactor
One of the dependency py-magic-wormhole had to be fixed by downgrading
the requirement of py-autobahn due to an upstream issue with
py-zope-interfaces. That was causing a build failure as a conflict
py-autobahn and py-autobahn25. This commit fixes that build.
Approved by: portmgr (blanket)
Event: Oslo Hackathon 2026
[MemProf] Make the early inliner ignore the sample profile (#235975)
For MemProf we use the early inliner to aid matching, in particular to
better handle allocation contexts with missing leaf debug frames.
For iPGO the early inliner runs before profile annotation so there is no
existing profile data. But with SamplePGO, there will be profile info in
the IR when the early inliner is run, which will affect the inlining
decisions. If a new SamplePGO profile contains additional hot functions
beyond those in the binary that was memprof-profiled, this can result in
the early inliner performing additional inlines. Because of the way the
memprof profile is structured (profile information for calls and
allocations are included for each function up through the first
non-inline frame), additional inlining means we will not find the
profile information for a call or allocation when matching.
Add a new InlineParams to ignore the profile, which we set when
performing early inlining for MemProf after SamplePGO loading.
Assisted-by: Gemini
[libc][unistd] Add getgroups syscall wrapper. (#237020)
Unlike `initgroups` and `setgroups`, `getgroups` is standardized in
POSIX.1-2024, and should
be provided by `<unistd.h>` header. Implement it as a simple syscall
wrapper around `getgroups32` syscall,
similar to `setgroups`. Since it's a getter function, it doesn't need
setxid propagation across threads,
and thus can be added to regular (non-experimental) entrypoints list on
various Linux platforms.
Assisted by: Gemini, human-verified.
[LICM] Refactor common parameters for LICM and LoopSink APIs (NFC) (#236798)
We pass around a whole bunch of analyses and adding a new one becomes a
massive chore.
uether: Handle SIOCGIFXMEDIA
Commit eb7e25b22f1 ("ifmedia changes:") added SIOCGIFXMEDIA for extended
Ethernet media subtypes, but uether_ioctl() was not updated to pass it
to ifmedia_ioctl(). I believe no existing USB Ethernet devices used
extended subtypes, so this went unnoticed.
Without SIOCGIFXMEDIA ifconfig falls back to SIOCGIFMEDIA, which maps an
extended subtype to IFM_OTHER, and ifconfig reports "Ethernet Other."
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60779
pfsync: improve handling of large packets
On setups with pfsync over large MTUs (> 2K) we could fail to parse
packets because m_pulldown() fails on packets larger than MCLBYTES.
Instead use m_copydata() to copy out the individual chunks we're
interested in.
This should also fix the flaky pfsync:bulk test case. Depending on the
hash seed states would or would not end up synced.
PR: 297307
Sponsored by: Rubicon Communications, LLC ("Netgate")
pfsync: avoid underflow on different timeouts
If two pfsync hosts have different timeout values set it's possible for
an underflow to occor when importing a state. If the destination host
has a shorter timeout set than the exporting host it's possible for the
state to be older than the importing host's timeout value, which results
in an underflow and a state with an unreasonable expiry time.
Check for this, and avoid the underflow. While here also account for the
timeout being longer than our uptime.
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D60950