FreeNAS/freenas 3877c84tests/api2/zfs_tier conftest.py test_config.py

Fix
DeltaFile
+8-15tests/api2/zfs_tier/conftest.py
+2-5tests/api2/zfs_tier/test_config.py
+3-2tests/api2/zfs_tier/test_smoke.py
+13-223 files

Linux/linux 1a2ab0ffs/smb/server smbacl.c oplock.c

Merge tag 'v7.1-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:

 - Fix two null pointer dereferences and a memory leak

* tag 'v7.1-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
  ksmbd: fix null pointer dereference in compare_guid_key()
  ksmbd: fix null pointer dereference in proc_show_files()
  ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow
DeltaFile
+9-3fs/smb/server/smbacl.c
+5-1fs/smb/server/oplock.c
+1-1fs/smb/server/vfs_cache.c
+15-53 files

Linux/linux 0c0b282fs/ntfs mft.c attrib.c

Merge tag 'ntfs-for-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs

Pull ntfs fixes from Namjae Jeon:

 - Check the index depth limit via ntfs_icx_parent_inc(), avoiding
   context corruption from excessively deep child chains

 - Switch security descriptor allocation to kzalloc() to avoid leaking
   uninitialized memory

 - Prevent an inconsistent state where vol->volume_label becomes NULL on
   allocation failure

 - Validate MFT records by verifying that attrs_offset sits within
   bytes_in_use

 - Fix an off-by-one boundary comparison, correctly catching the
   out-of-range MFT record number


    [48 lines not shown]
DeltaFile
+65-28fs/ntfs/mft.c
+22-24fs/ntfs/attrib.c
+28-7fs/ntfs/super.c
+12-5fs/ntfs/index.c
+5-4fs/ntfs/runlist.c
+5-2fs/ntfs/bdev-io.c
+137-704 files not shown
+149-8010 files

FreeBSD/src 51fcd5dsys/netinet igmp.c, sys/sys mbuf.h

igmp: Avoid leaving dangling pointers in the state-change queue

When igmp_v3_merge_state_changes() is iterating over state-change
packets, there is a case where it'll free a queued packet but will fail
to remove it from the queue.  Fix that.

Reported by:    Yuxiang Yang, Yizhou Zhao, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM5.1 from Z.ai
Reviewed by:    pouria, glebius
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56947

(cherry picked from commit beab4a237a45aea809e81802b9e1e9ff30f3d929)
DeltaFile
+5-3sys/netinet/igmp.c
+8-0sys/sys/mbuf.h
+13-32 files

FreeBSD/src 74d5c2bsys/net if_vxlan.c

if_vxlan: Update *m0 after a pullup

vxlan_input()'s caller is supposed to free *m0 if it is non-NULL after
the function returns.  vxlan_input() failed to update *m0 after the
pullup however, so if it hits an error case after the pullup, we'll free
the mbuf twice.  Currently this can happen only if the interface is
brought down or due to a packet loop.

Reported by:    Yuxiang Yang, Yizhou Zhao, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM5.1 from Z.ai
Reviewed by:    pouria, zlei
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56944

(cherry picked from commit a6c4fe2d1a38885914b1c3e85508b965ccdb7874)
DeltaFile
+1-2sys/net/if_vxlan.c
+1-21 files

FreeBSD/src 7797d07tests/sys/kern Makefile

tests/timerfd: Serialize

At least one of these tests changes the system clock, which potentially
interferes with concurrently running tests and causes them to fail.

MFC after:      1 week

(cherry picked from commit 001cfc7b8aa38122c4e0fe8ae48fae3556a1f2b6)
DeltaFile
+2-0tests/sys/kern/Makefile
+2-01 files

FreeBSD/src 04d8c9asys/net/route route_tables.c

routing: Use a better error number in sysctl_fibs()

ENOTCAPABLE is for capsicum and its use here is inappropriate.  In
particular, note that syscallret() treats this value specially.

Reviewed by:    glebius, pouria, zlei
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56481

(cherry picked from commit 8de0fc10a1c2d65bdb39eff862266ab1f87902c8)
DeltaFile
+1-1sys/net/route/route_tables.c
+1-11 files

FreeBSD/src 5937f2ftests/sys/net if_lagg_test.sh

tests/if_lagg: Minor improvements

- Set require.kmods instead of relying on ifconfig to load if_lagg.ko,
  as this doesn't work when running within a jail.
- Simplify helper functions which create tap and lagg devices.

MFC after:      1 week

(cherry picked from commit 47ae0135d461854b72b905ac77bf3e1f5b2868bc)
DeltaFile
+11-24tests/sys/net/if_lagg_test.sh
+11-241 files

FreeBSD/src 605d3bctests/sys/netinet socket_afinet.c

tests/socket_afinet: Fix the bind_connected_port test

The test verifies that a socket can bind to a local address assigned by
connect(2) to a different socket.  It was however trying to bind to the
wrong address, and the check of the result was inverted, so this went
unnoticed.  It also needs to set SO_REUSEADDR for this to succeed.

Reported by:    glebius
MFC after:      1 week

(cherry picked from commit d3d0466cae546254c50c80cf3e0c060bbbbba53c)
DeltaFile
+7-7tests/sys/netinet/socket_afinet.c
+7-71 files

FreeBSD/src 5bf82cbtests/sys/posixshm posixshm_test.c

tests/posixshm: Check for hardware support in largepage_pkru

MFC after:      3 days
Fixes:          ca87c0b8e396 ("pkru: Fix handling of 1GB largepage mappings")

(cherry picked from commit 75c66218401c00f4728d5312e2b933b8d3aefde1)
DeltaFile
+10-0tests/sys/posixshm/posixshm_test.c
+10-01 files

FreeBSD/src 8eab86fcontrib/netbsd-tests/lib/libc/sys t_mmap.c

netbsd-tests: Fix the mmap_truncate_signal test

Add a volatile qualifier in the loop which triggers SIGBUS, as otherwise
the compiler is smart enough to elide it, replacing it with a check for
page != 0.

MFC after:      1 week

(cherry picked from commit e3b8e55e710bf355f371d798aa943281007a7ea9)
DeltaFile
+1-1contrib/netbsd-tests/lib/libc/sys/t_mmap.c
+1-11 files

FreeBSD/src 7d63a75sys/net/route route_tables.c

routing: Initialize V_rt_numfibs earlier during boot

V_rt_numfibs can be set at compile time (with the ROUTETABLES kernel
config option) or boot time (with the net.fibs tunable).
vnet_rtables_init(), running during SI_PROTO_DOMAIN, was checking the
tunable and updating V_rt_numfibs accordingly, but that means that
earlier SYSINITs, such as vnet_mroute_init(), see the compile-time value
for V_rt_numfibs before it gets corrected in vnet_rtables_init().

Fix this by initializing V_rt_numfibs earlier, so that SYSINITs are less
likely to use the wrong value.

Add a comment describing the weird, preexisting semantic of resetting
rt_numfibs to 1 in VNET jails.

PR:             294510
Reviewed by:    glebius, zlei, pouria
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56473

    [2 lines not shown]
DeltaFile
+16-8sys/net/route/route_tables.c
+16-81 files

FreeBSD/ports 093c055textproc/bookokrat distinfo Makefile.crates

textproc/bookokrat: Update to 0.3.11

ChangeLog:

- https://github.com/bugzmanov/bookokrat/releases/tag/v0.3.10
- https://github.com/bugzmanov/bookokrat/releases/tag/v0.3.11

Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+13-3textproc/bookokrat/distinfo
+5-0textproc/bookokrat/Makefile.crates
+2-2textproc/bookokrat/Makefile
+20-53 files

LLVM/project 196c169libc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc] implement fputwc (#196158)

Add fputwc function and tests. Part 2/10.

Assisted by Gemini
DeltaFile
+157-0libc/test/src/wchar/fputwc_test.cpp
+42-0libc/src/wchar/fputwc.cpp
+28-0libc/src/wchar/fputwc.h
+1-1libc/config/linux/aarch64/entrypoints.txt
+1-1libc/config/linux/riscv/entrypoints.txt
+1-1libc/config/linux/x86_64/entrypoints.txt
+230-31 files not shown
+232-37 files

Linux/linux 650d213scripts/mod file2alias.c, scripts/package PKGBUILD

Merge tag 'kbuild-fixes-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nicolas Schier:

 - modpost: prevent stack buffer overflow in do_input_entry() and
   do_dmi_entry()

   Defensively replace unbound sprintf() calls in file2alias to prevent
   silent stack overflows and detect alias name overflows with proper
   error message.

 - kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning
   scheme

   Enable smooth upgrades from "rc" releases w/ pacman packages.

* tag 'kbuild-fixes-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme
  modpost: prevent stack buffer overflow in do_input_entry() and do_dmi_entry()
DeltaFile
+53-26scripts/mod/file2alias.c
+1-1scripts/package/PKGBUILD
+54-272 files

OPNSense/core ff84812Mk git.mk

make: add a `wiff' target for fun and profit
DeltaFile
+8-0Mk/git.mk
+8-01 files

LLVM/project abe9d15llvm/test/CodeGen/AArch64 atomic-ops-lse.ll cheap-as-a-move-MOVaddr.ll

[AArch64] Consider MOVaddr* as cheap if fuse-adrp-add
DeltaFile
+88-88llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+55-0llvm/test/CodeGen/AArch64/cheap-as-a-move-MOVaddr.ll
+15-9llvm/test/CodeGen/AArch64/machine-outliner-loh.ll
+9-9llvm/test/CodeGen/AArch64/memcmp.ll
+8-8llvm/test/CodeGen/AArch64/atomic-ops.ll
+6-6llvm/test/CodeGen/AArch64/cgdata-outline-gvar.ll
+181-1206 files not shown
+201-12912 files

LLVM/project 60aae22llvm/test/CodeGen/Thumb2 mve-clmul.ll mve-satmul-loops.ll

[RegisterCoalescer] Don't remat trivial defs without a size benefit

isAsCheapAsAMove doesn't imply "one machine instruction". AArch64 marks
multi-instruction pseudos cheap when their fused latency matches a real
move (MOVaddr = adrp+add, MOVi64imm = MOVZ+MOVK). The trivial remat
duplicates such defs at every COPY use.
DeltaFile
+5,082-5,079llvm/test/CodeGen/Thumb2/mve-clmul.ll
+274-274llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
+98-98llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll
+61-61llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+54-53llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll
+52-55llvm/test/CodeGen/Thumb2/mve-scmp.ll
+5,621-5,62038 files not shown
+6,030-5,96244 files

LLVM/project 39e2084llvm/test/Transforms/SLPVectorizer/RISCV basic-strided-stores.ll

[SLP] Precommit tests for incorrect base pointer failure for strided store vectorization (#198564)

Issue first noted
https://github.com/llvm/llvm-project/pull/198408#issuecomment-4485336867

The incorrect base pointer is used for strided loads in some reordering
scenarios.
DeltaFile
+45-0llvm/test/Transforms/SLPVectorizer/RISCV/basic-strided-stores.ll
+45-01 files

OPNSense/core ed13e6asrc/opnsense/mvc/app/views/OPNsense/Firewall alias.volt

Firewall: Aliases - add a formatter to show content fields as "dynamic" when populated by other components. closes https://github.com/opnsense/core/issues/10315

(cherry picked from commit ce6728a9740fd1c92e7cd187eebf2702d3694ea9)
DeltaFile
+8-1src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+8-11 files

OPNSense/core 7b2c137src/opnsense/scripts/health fetchData.py

Reporting: Health - render NaN as empty values [null] and omit leading empty records from set, closes https://github.com/opnsense/core/issues/10307

(cherry picked from commit ac54d3dd36cb62fb24d06259be86dfa9d24973a6)
DeltaFile
+6-2src/opnsense/scripts/health/fetchData.py
+6-21 files

LLVM/project 2474ac0lldb/source/Commands CommandObjectBreakpoint.cpp CommandObjectTarget.cpp

[lldb] Make CommandObject::GetTarget filter out the dummy target (#198429)

Follow-up to #197805. Make CommandObject::GetTarget the canonical target
accessor for command code, and tighten its semantics so that DoExecute
methods can't accidentally operate on the dummy target.

GetTarget now returns Target* instead of Target&. The result is the
target from the command's frozen execution context, falling back to the
interpreter's execution context. The dummy target is filtered out and
replaced with nullptr unless the command opts in via one of the
eCommandRequires{Target,Process,Thread,Frame} flags (in which case
CheckRequirements has already guaranteed a real target) or via the new
eCommandAllowsDummyTarget flag.

This is the first half of the cleanup discussed at the end of #197805. A
follow-up will audit DoExecute methods that still reach for
GetSelectedTarget or m_exe_ctx.GetTargetPtr() directly and migrate them
to GetTarget.
DeltaFile
+161-149lldb/source/Commands/CommandObjectBreakpoint.cpp
+145-115lldb/source/Commands/CommandObjectTarget.cpp
+55-48lldb/source/Commands/CommandObjectWatchpoint.cpp
+49-46lldb/source/Commands/CommandObjectSource.cpp
+20-23lldb/source/Commands/CommandObjectProcess.cpp
+24-18lldb/source/Commands/CommandObjectFrame.cpp
+454-39914 files not shown
+580-49220 files

LLVM/project faad403flang/lib/Semantics resolve-names.cpp, flang/test/Semantics implicit07.f90

[flang][Semantics] Enforce IMPLICIT NONE(EXTERNAL) for dummy procedures (#198398)

## Summary

Fix `CheckImplicitNoneExternal()` to correctly diagnose dummy arguments
used as procedures that lack an explicit `EXTERNAL` attribute when
`IMPLICIT NONE(EXTERNAL)` is in effect.

Fixes #198395 

## Problem

Flang silently accepted code where a dummy argument was called as a
procedure under `IMPLICIT NONE(EXTERNAL)` without the required explicit
`EXTERNAL` attribute. The Fortran 2018 standard C895 requires that each
dummy procedure used as a procedure shall explicitly have the `EXTERNAL`
attribute when `IMPLICIT NONE(EXTERNAL)` is specified.

## Changes

    [21 lines not shown]
DeltaFile
+66-0flang/test/Semantics/implicit07.f90
+3-2flang/lib/Semantics/resolve-names.cpp
+69-22 files

LLVM/project b22016boffload/test/api omp_indirect_call.c omp_virtual_func.cpp

[offload][LIT] Remove XFAIL: intelgpu from 5 virtual function tests (#198559)

Passing on the buildbot now, probably
[this](https://github.com/llvm/llvm-project/pull/197556) change fixed
them.

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+0-1offload/test/api/omp_indirect_call.c
+0-1offload/test/api/omp_virtual_func.cpp
+0-1offload/test/api/omp_virtual_func_multiple_inheritance_01.cpp
+0-1offload/test/api/omp_virtual_func_multiple_inheritance_02.cpp
+0-1offload/test/api/omp_virtual_func_reference.cpp
+0-55 files

FreeNAS/freenas 208f06ctests/sharing_protocols/fibre_channel test_fibre_channel.py, tests/sharing_protocols/nfs test_nfs_mt_races.py test_nfs_dacl_readdir.py

Temporarily restrict sharing tests to iSCSI
DeltaFile
+0-2,303tests/sharing_protocols/nvmet/test_nvmet_tcp.py
+0-1,081tests/sharing_protocols/fibre_channel/test_fibre_channel.py
+0-1,027tests/sharing_protocols/nfs/test_nfs_mt_races.py
+0-921tests/sharing_protocols/nvmet/nvmet_ha_utils.py
+0-818tests/sharing_protocols/smb/test_smb_protocol_base.py
+0-658tests/sharing_protocols/nfs/test_nfs_dacl_readdir.py
+0-6,80818 files not shown
+0-11,43224 files

FreeNAS/freenas e4783e0tests/sharing_protocols/iscsi test_262_iscsi_alua.py

Add restore_active_node fixture
DeltaFile
+41-1tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+41-11 files

FreeNAS/freenas e88b760src/middlewared/middlewared/plugins/iscsi_ scst.py alua.py

Release parked async LUN-replace cleanup after DLM peer eviction

scst.async_lun_replace=1 now also tells the kernel to park the deferred
cleanup of old tgt_devs from each LUN replace until the flag is cleared.
This avoids stalling become_active on scst_dlm_lock_wait inside
scst_clear_reservation while the dead peer is still a DLM lockspace
member.

Add iscsi.scst.disable_async_lun_replace and call it from the end of
iscsi.alua.reset_active, after dlm.reset_active (which evicts the peer)
completes.
DeltaFile
+20-1src/middlewared/middlewared/plugins/iscsi_/scst.py
+10-2src/middlewared/middlewared/plugins/iscsi_/alua.py
+30-32 files

FreeNAS/freenas f7c40cfsrc/middlewared/middlewared/etc_files scst.conf.mako

Always set bind_alua_state
DeltaFile
+1-0src/middlewared/middlewared/etc_files/scst.conf.mako
+1-01 files

FreeNAS/freenas 35f14bftests/sharing_protocols/iscsi test_262_iscsi_alua.py

Increase timeout for test_failover_lun_replace
DeltaFile
+1-1tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+1-11 files

FreeNAS/freenas 4a599f3src/middlewared/middlewared/plugins dlm.py

Remove logout all HA targets from reset_active
DeltaFile
+2-5src/middlewared/middlewared/plugins/dlm.py
+2-51 files