LLVM/project 7fe6e70llvm/lib/Target/NVPTX NVPTXTargetMachine.cpp NVPTX.h

[NFC][LLVM][NVPTX] Cleanup pass initialization for NVPTX (#134311)

- Move all pass initialization function calls to NVPTX target
initialization and out of individual pass constructors.
- Move all pass initialization function declaration to NVPTX.h.
- https://github.com/llvm/llvm-project/issues/111767
DeltaFile
+1-21llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
+18-0llvm/lib/Target/NVPTX/NVPTX.h
+1-7llvm/lib/Target/NVPTX/NVVMReflect.cpp
+1-7llvm/lib/Target/NVPTX/NVPTXForwardParams.cpp
+1-7llvm/lib/Target/NVPTX/NVPTXPeephole.cpp
+1-7llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
+23-4913 files not shown
+29-9319 files

OPNSense/src 41e3b49sys/netpfil/pf pf.c

pf: improve pf_state_key_attach() error handling

If we fail to attach the stack key that means we've already attached the wire
key. That means the state could be found by other cores, and given that we then
free it, be used after free.
Fix this by not releasing the ID hashrow lock and key locks until after we've
removed the inserted key again, ensuring the state cannot be found by other
cores.

Reported by:    markj
Submitted by:   glebius
Reviewed by:    glebius, markj
MFC after:      3 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D49550
DeltaFile
+19-6sys/netpfil/pf/pf.c
+19-61 files

OPNSense/src 801c84asys/netinet tcp_subr.c sctp_usrreq.c, sys/netinet6 sctp6_usrreq.c udp6_usrreq.c

netinet: Fix getcred sysctl handlers to do nothing if no input is given

These routines were all assuming that the sysctl handler has some new
value, but this is not the case.  SYSCTL_IN() returns 0 in this
scenario, so they were all operating on an uninitialized address.  This
is mostly harmless, but trips KMSAN checks, so let's fix them.

Reviewed by:    zlei, rrs, glebius
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D49348

(cherry picked from commit 3ff865c6a7948b2cfc01d7056c619145b696700a)
DeltaFile
+4-0sys/netinet/tcp_subr.c
+2-1sys/netinet/sctp_usrreq.c
+2-0sys/netinet/udp_usrreq.c
+2-0sys/netinet6/sctp6_usrreq.c
+2-0sys/netinet6/udp6_usrreq.c
+12-15 files

OPNSense/src e0b3614sys/netinet tcp_log_buf.h

tcp: remove struct tcp_log_rack

struct tcp_log_rack is not used, therefore remove it.

Reviewed by:            Peter Lei
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D49669

(cherry picked from commit b1c62081feec535a4f2eeb4f8deb58913d9e281c)
DeltaFile
+0-10sys/netinet/tcp_log_buf.h
+0-101 files

OPNSense/src 8b88f44sys/netinet tcp_log_buf.c

tcp: clear sendfile logging struct

The sendfile black box logging struct is much smaller than the
encompassing stack specific logging union. Be sure to clear the
trailing unused memory when logging.

Reviewed by:    tuexen
Sponsored by:   Netflix, Inc.

(cherry picked from commit 3bd1e85fc13cb90853046300dcaa31d63b45ee21)
DeltaFile
+1-0sys/netinet/tcp_log_buf.c
+1-01 files

OPNSense/src 4d2ba6dsys/netinet sctp_pcb.c

sctp: fix double unlock in case adding a remote address fails

Thanks to glebius@ for pointing to the problem.

Reported by:    syzbot+1d5c164f1c10de84ad8a at syzkaller.appspotmail.com
Fixes:          2d5c48eccd9f ("sctp: Tighten up locking around sctp_aloc_assoc()")

(cherry picked from commit e8623834ca29b562687db945bdd12a3e2fe4aeb1)
DeltaFile
+0-1sys/netinet/sctp_pcb.c
+0-11 files

OPNSense/src 0f96247sys/dev/ixgbe ixgbe_mbx.c

ixgbe: fix mailbox ack handling

Check if CTS bit is set in the mailbox message before waiting for ACK.
Otherwise ACK will never be received causing the function to timeout. Add
a note for ixgbe_write_mbx that it should be called while holding a lock.

Fixes: 6d243d2 ("net/ixgbe/base: introduce new mailbox API")
Cc: stable at dpdk.org

Signed-off-by: Norbert Ciosek <norbertx.ciosek at intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Obtained from:  DPDK (1f119e4)

(cherry picked from commit 1580f8d9c1740e0c54554e6c185573d34f2dcf76)
DeltaFile
+12-2sys/dev/ixgbe/ixgbe_mbx.c
+12-21 files

pfSense/pfsense 063d171src/etc/inc syslog.inc

Fix syslog config for if_pppoe. Fixes #16127

- if_pppoe section set a filter but did not reset it after, which
  prevented subsequent directives from having other content.
- if_pppoe section did not have a blank line after, which broke
  itself and the next directive if any directives came after.
DeltaFile
+2-0src/etc/inc/syslog.inc
+2-01 files

OPNSense/src 6f33f12sys/dev/igc igc_api.c

igc(4): Fix attach for I226-K and LMVP devices

Summary:
The device IDs for these were in the driver's list of PCI ids to attach
to, but igc_set_mac_type() had never been setup to set the correct mac
type for these devices. Fix this by adding these IDs to the switch block
in order for them to be recognized by the driver instead of returning an
error.

This fixes the igc(4) attach for the I226-K LOM on the ASRock Z790
PG-ITX/TB4 motherboard, allowing it to be recognized and used.

Signed-off-by: Eric Joyner <erj at FreeBSD.org>

Reviewed by:    kbowling@
Relnotes:       yes
Differential Revision: https://reviews.freebsd.org/D49147

(cherry picked from commit 7ee310c80ea7b336972f53cc48b8c3d03029941e)
DeltaFile
+2-0sys/dev/igc/igc_api.c
+2-01 files

Dreckly/dreckly 42a77bfchat/ngircd Makefile

ngircd: Fix build on UnixWare 7.
DeltaFile
+2-0chat/ngircd/Makefile
+2-01 files

OPNSense/src f93d01fsys/net if_ovpn.c, tests/sys/net/if_ovpn if_ovpn.sh

if_ovpn: fix use-after-free of mbuf

m_unshare() can return a new mbuf pointer. We update the 'm' pointer in
ovpn_udp_input(), but if we decide to pass on the packet (e.g. because it's for
an unknown peer) the caller (udp_append()) continues with the old 'm' pointer,
eventually resulting in a use-after-free.

Re-order operations in ovpn_udp_input() so that we don't modify the 'm' pointer
until we're committed to keeping the packet.

PR:             283426
Test case by:   takahiro.kurosawa at gmail.com
MFC after:      2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+81-0tests/sys/net/if_ovpn/if_ovpn.sh
+6-6sys/net/if_ovpn.c
+87-62 files

LLVM/project 268c065clang/test/CodeGenCoroutines pr134409.cpp, llvm/lib/Passes PassBuilderPipelines.cpp

[fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434)

When coroutines are used w/ both -ffat-lto-objects and -flto=thin,
the coroutine passes are not added to the optimization pipelines.
Ensure they are added before ModuleOptimization to generate a
working ELF object.

Fixes #134409.
DeltaFile
+43-0clang/test/CodeGenCoroutines/pr134409.cpp
+13-0llvm/lib/Passes/PassBuilderPipelines.cpp
+56-02 files

LLVM/project b09daa4llvm/docs GitHub.rst

[llvm][docs] 2 small fixes to GitHub guide (#134620)

1. `arc` is long gone, no need to mention it.
2. Say exactly where user branches can be made.
DeltaFile
+6-6llvm/docs/GitHub.rst
+6-61 files

FreeBSD/ports 322c5d3textproc/R-cran-stringi Makefile distinfo

textproc/R-cran-stringi: Update to 1.8.7

Add LICENSE_FILE.
Change WWW to canonical form.

Changelog: https://cran.r-project.org/web/packages/stringi/NEWS
DeltaFile
+3-3textproc/R-cran-stringi/Makefile
+3-3textproc/R-cran-stringi/distinfo
+6-62 files

LLVM/project c75eac7lld/COFF SymbolTable.cpp Driver.cpp, lld/test/COFF imports-static-lib.test imports-static-lib-indirect.test

[LLD][COFF] Don't dllimport from static libraries (#134443)

This reverts commit 6a1bdd9 and re-instate behavior that matches what
MSVC link.exe does, that is, error out when trying to dllimport a symbol
from a static library.

A hint is now displayed in stdout, mentioning that we should rather dllimport the symbol
from a import library.

Fixes https://github.com/llvm/llvm-project/issues/131807
DeltaFile
+33-0lld/test/COFF/imports-static-lib.test
+26-0lld/test/COFF/imports-static-lib-indirect.test
+0-26lld/test/COFF/undefined_lazy.test
+12-8lld/COFF/SymbolTable.cpp
+2-4lld/COFF/Driver.cpp
+1-4lld/COFF/SymbolTable.h
+74-426 files

LLVM/project 4b90f24lldb/test/API/functionalities/asan TestMemoryHistory.py TestReportData.py

[LLDB] Add integration test for libsanitizers trace collection (#134323)

Add integration test for libsanitizers trace collection
(`SanitizersAllocationTraces=all`).
    
rdar://144244084
DeltaFile
+63-41lldb/test/API/functionalities/asan/TestMemoryHistory.py
+5-7lldb/test/API/functionalities/asan/TestReportData.py
+7-4lldb/test/API/functionalities/asan/Makefile
+75-523 files

Dreckly/dreckly 4bb8a47chat/ngircd Makefile

ngircd: Fix build on UnixWare 7.
DeltaFile
+2-0chat/ngircd/Makefile
+2-01 files

LLVM/project e288577clang/lib/Headers/llvm_libc_wrappers stdlib.h

[libc] Fix function that wasn't updated in wrapper headers
DeltaFile
+1-1clang/lib/Headers/llvm_libc_wrappers/stdlib.h
+1-11 files

LLVM/project 954cceeclang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplateDeduction.cpp SemaTemplate.cpp

[clang] fix partial ordering of NTTP packs (#134461)

This fixes partial ordering of pack expansions of NTTPs, by procedding
with the check using the pattern of the NTTP through the rules of the
non-pack case.

This also unifies almost all of the different versions of
FinishTemplateArgumentDeduction (except the function template case).
This makes sure they all follow the rules consistently, instantiating
the parameters and comparing those with the argument.

Fixes #132562
DeltaFile
+110-175clang/lib/Sema/SemaTemplateDeduction.cpp
+164-114clang/lib/Sema/SemaTemplate.cpp
+38-3clang/test/SemaTemplate/partial-order.cpp
+11-11clang/test/SemaTemplate/attributes.cpp
+9-8clang/include/clang/Sema/Sema.h
+9-7clang/test/SemaTemplate/temp_arg_nontype.cpp
+341-3189 files not shown
+360-34015 files

Dreckly/dreckly 023d72ddevel/readline Makefile

readline: Do not waste cycles building examples.

We intentionally don't install them.
DeltaFile
+1-1devel/readline/Makefile
+1-11 files

Dreckly/dreckly 4d33ea9security/argon2 Makefile

argon2: Fix build on SCO UNIX.
DeltaFile
+4-0security/argon2/Makefile
+4-01 files

NetBSD/pkgsrc 1mrmnZAdevel/m4 Makefile

   m4: Fix build on UnixWare 7.
VersionDeltaFile
1.83+14-2devel/m4/Makefile
+14-21 files

Dreckly/dreckly c45794fsecurity/libident Makefile

libident: Fix build on UnixWare 7.
DeltaFile
+2-1security/libident/Makefile
+2-11 files

Dreckly/dreckly 2db18f3archivers/unzip Makefile

unzip: Fix build on UnixWare 7.
DeltaFile
+1-0archivers/unzip/Makefile
+1-01 files

LLVM/project fb28ce8mlir/test/Dialect/XeGPU ops.mlir

new line at the end of file
DeltaFile
+0-1mlir/test/Dialect/XeGPU/ops.mlir
+0-11 files

LLVM/project 7fa388dflang/lib/Semantics resolve-directives.cpp, flang/test/Lower/OpenMP threadprivate-host-association-3.f90

[Flang][OpenMP] Fix bug with default(none) and host-assoc threadprivate variable (#134122)

When a host associated `threadprivate` variable was used in a parallel
region with `default(none)` in an internal subroutine was failing,
because the compiler did not properly determine that the variable was
pre-determined `threadprivate` and thus should not have been reported as
missing a DSA.
DeltaFile
+44-0flang/test/Lower/OpenMP/threadprivate-host-association-3.f90
+1-1flang/lib/Semantics/resolve-directives.cpp
+45-12 files

FreeBSD/ports b892cb0www/librewolf Makefile distinfo

www/librewolf: Update 137.0-1 => 137.0-3

Commit log:
https://codeberg.org/librewolf/source/compare/137.0-1...137.0-3

Replace "folder" with "directory" in pkg-message.

PR:             285913
Approved by:    Martin Filla <freebsd at sysctl.cz> (maintainer)
MFH:            2025Q2

(cherry picked from commit 8f0114e140405d36b22c550b2b950b0d4bfe987b)
DeltaFile
+5-3www/librewolf/Makefile
+3-3www/librewolf/distinfo
+1-1www/librewolf/pkg-message
+9-73 files

FreeNAS/freenas a4b94d5src/middlewared/middlewared/plugins/directoryservices_ cache.py

NAS-135219 / 25.10 / Convert directory services cache to new API (#16207)

This commit converts the directory services cache to new API method and
improves validation of entries by reusing UserEntry and GroupEntry from
our accounts schema.
DeltaFile
+56-22src/middlewared/middlewared/plugins/directoryservices_/cache.py
+56-221 files

pfSense/pfsense 886b66fsrc/usr/local/pfSense/include/www firewall_nat.inc

Limit port forward overlap checks to the same IP address family. Fix #16130
DeltaFile
+3-0src/usr/local/pfSense/include/www/firewall_nat.inc
+3-01 files

FreeBSD/ports 2659757www/dooble distinfo Makefile

www/dooble: Update 2025.04.02 => 2025.04.06

Changelog:
https://github.com/textbrowser/dooble/releases/tag/2025.04.06

PR:     285923
DeltaFile
+3-3www/dooble/distinfo
+1-1www/dooble/Makefile
+4-42 files