Remove avahi config workaround for old interface.query
This commit removes some workarounds that we had in the
avahi configuration to prevent kubernetes bridge and other
internal interfaces from entering the configuration in older
truenas versions.
(cherry picked from commit 1f44a5615a9a70a4ea50471fcd35b7f3010f5601)
NAS-140661 / 27.0.0-BETA.1 / Remove avahi config workaround for old interface.query (#18732)
This commit removes some workarounds that we had in the avahi
configuration to prevent kubernetes bridge and other internal interfaces
from entering the configuration in older truenas versions. Modern
truenas does a better job at filtering out these interfaces and so these
workarounds are no longer required.
geneve: Add tests for geneve
Add tests for each combinations of geneve modes, address families
and multicast.
Differential Revision: https://reviews.freebsd.org/D55183
if_geneve: Add Support for Geneve (RFC8926)
geneve creates a generic network virtualization tunnel interface
for Tentant Systems over an L3 (IP/UDP) underlay network that provides
a Layer 2 (ethernet) or Layer 3 service using the geneve protocol.
This implementation is based on RFC8926.
Reviewed by: glebius, adrian
Discussed with: zlei, kp
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D54172
*/*: remove checks that base ld is(n't) GNU ld
GNU binutils was removed entierly prior to 13.0 so assume /usr/bin/ld
is LLD.
Sponsored by: DARPA, AFRL
Reviewed by: arrowd, bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D55691
[AArch64][llvm] Add GICv5 ICH_PPI_HVIR{0,1}_EL2 system registers
Add GICv5 `ICH_PPI_HVIR{0,1}_EL2` system registers (Interrupt
Controller PPI Hide Virtual Interrupt Registers). These registers
are added because a hypervisor may want to only expose a subset of the
PPIs to the virtual machine and hide the remaining PPIs.
The only way the hypervisor can do this is by trapping all the PPI ICV
registers which leads to additional code complexity and adds performance
overhead especially for nested virtualization.
These are documented here:
https://developer.arm.com/documentation/111107/latest/AArch64-Registers/ICH-PPI-HVIR-n--EL2--Interrupt-Controller-PPI-Hide-Virtual-Interrupt-Registers
[ORC] Add MachOBuilder support for LC_UUID load commands. (#191807)
Enables LC_UUID load commands to be added with the addLoadCommand
method.
This will be used in future MachOPlatform changes to add support for
adding UUIDs to MachO JITDylibs.
libarchive: merge from vendor branch
libarchive 3.8.7
Important bugfixes:
#2871 libarchive: fix handling of option failures
#2897 iso9660: fix undefined behavior
#2898 RAR: fix LZSS window size mismatch after PPMd block
#2900 CAB: fix NULL pointer dereference during skip
#2911 libarchive: do not continue with truncated numbers
#2919 CAB: Fix Heap OOB Write in CAB LZX decoder
#2934 iso9660: fix posibble heap buffer overflow on 32-bit systems
#2939 cpio: Fix -R memory leak
#2947 libarchive: lzop and grzip filter support
Important bugfixes between 3.8.5 and 3.8.6:
#2860 bsdunzip: fix ISO week year and Gregorian year confusion
#2864 7zip: ix SEGV in check_7zip_header_in_sfx via ELF offset validation
#2875 7zip: fix out-of-bounds access on ELF 64-bit header
[12 lines not shown]
NAS-140643 / 26.0.0-BETA.2 / Use truenas_pylibzfs.kstat module (by anodos325) (#18731)
This comit replaces various custom parsers for zil and arcstat kstats
with the standardized objects from truenas_pylibzfs.kstat.
The snmp-agent python script is also updated to not rely on the legacy
py-libzfs module.
Original PR: https://github.com/truenas/middleware/pull/18717
---------
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
[Support] Remove address-extraction methods from DataExtractor (NFC) (#190519)
Most clients don't have a notion of "address" and pass arbitrary values
(including `0` and `sizeof(void *)`) to `DataExtractor` constructors.
This makes address-extraction methods dangerous to use.
Those clients that do have a notion of address can use other methods
like `getUnsigned()` to extract an address, or they can derive from
`DataExtractor` and add convenience methods if extracting an address is
routine. `DWARFDataExtractor` is an example, where the removed methods
were actually moved.
This does not remove `AddressSize` argument of `DataExtractor`
constructors yet, but makes it unused and overloads constructors in
preparation for their deletion. I'll be removing uses of the
to-be-deleted constructors in follow-up patches.
[GISel] Use GISelValueTracking in isKnownNeverNaN (#190542)
Pass GISelValueTracking* through isKnownNeverNaN and isKnownNeverSNaN so
that the implementation can call computeKnownFPClass to derive NaN
information from value tracking, rather than only looking at flags and
direct constant definitions. Update all callers.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>