FreeBSD/src 71ac1ecsys/fs/nfs nfs_commonport.c nfs_var.h, sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c

nfscl: Disable use of callbacks for NFSv4.0

The only use for callbacks for NFSv4.0 is delegations
and delegations rarely work well for NFSv4.0 anyhow.

Therefore, this patch disables callbacks for the
NFSv4.0 client.  This is the same behavior as
occurred when the nfscbd(8) daemon was not running.

This change allowed a function called nfscl_getmyip()
to be removed from the kernel, which is nice since
maintaining this function was bothersome, due to its
use of routing, etc.

MFC after:      2 weeks
DeltaFile
+0-79sys/fs/nfsclient/nfs_clport.c
+5-45sys/fs/nfsclient/nfs_clrpcops.c
+0-4sys/fs/nfs/nfs_commonport.c
+0-1sys/fs/nfs/nfs_var.h
+5-1294 files

FreeBSD/ports 195038cnet/dhcpcd Makefile distinfo

net/dhcpcd: update to 10.3.2

While here add a PRIVSEP options

Changes:        https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.3.2
DeltaFile
+8-2net/dhcpcd/Makefile
+3-3net/dhcpcd/distinfo
+11-52 files

LLVM/project 8ae4978lldb/source/Expression DWARFExpression.cpp

[lldb] Extract DW_OP_convert evaluation (NFC) (#195148)

Move the DW_OP_convert case body to a static helper alongside the other
Evaluate_DW_OP_* helpers. The case did enough work to warrant a small
helper.
DeltaFile
+32-25lldb/source/Expression/DWARFExpression.cpp
+32-251 files

LLVM/project 66ff7b7clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll atomic-rmw.ll

Merge branch 'users/ziqingluo/PR-172429193-3' into users/ziqingluo/PR-174874942-1

 Conflicts:
        clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
        clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
        clang/test/Analysis/Scalable/PointerFlow/tu-summary-serialization.test
DeltaFile
+648-9,301clang/test/AST/ast-dump-templates.cpp
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+16,337-20,6655,503 files not shown
+241,307-141,7215,509 files

LLVM/project 5950d9fllvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXInstrInfo.cpp, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.cpp

move cmp modes into td and update users
DeltaFile
+18-102llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+60-4llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-56llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+15-19llvm/lib/Target/NVPTX/NVPTX.h
+17-17llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+1-0llvm/lib/Target/NVPTX/CMakeLists.txt
+113-1986 files

LLVM/project f411e45llvm/lib/Target/NVPTX NVPTXInstrInfo.td

Update NVPTXInstrInfo.td
DeltaFile
+2-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-11 files

LLVM/project dede19ellvm/test/CodeGen/NVPTX machine-cse-predicate-inversion.ll machine-cse-predicate-no-inversion.ll

Move inversion/no inversion tests to one file. Fixup issue in machine-cse-predicate-inversion-multiple-users.ll
DeltaFile
+3,997-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+1,525-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-no-inversion.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+0-679llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+0-663llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+5,522-2,73211 files not shown
+5,526-5,58317 files

LLVM/project ad1d64fllvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-float16.ll machine-cse-predicate-inversion-bfloat16.ll

[NVPTX] Add commutativity to SETP instructions to enable MachineCSE of inverted predicates

Inverted predicates can be used freely in PTX. If we can invert a
predicate and CSE the generating instruction we can save calculating
the inverse.

Teach the NVPTX commuteInstructionImpl that SETP instructions can be
inverted to allow CSEing with previous SETP that match the inverted
form. This also inverts the branch users of the predicate to maintain
correctness.

Currently only allow the SETP inversion if all users are branches.
Future work can extend this to sel and not instructions.

Made-with: Cursor
DeltaFile
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+679-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+663-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int64.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int16.ll
+3,606-013 files not shown
+5,908-419 files

LLVM/project eecc144llvm/lib/Target/NVPTX NVPTXInstrInfo.cpp NVPTXInstrInfo.td, llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-rollback.mir machine-cse-predicate-inversion-multiple-users.ll

update rollback logic and add test exercising it
DeltaFile
+66-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-rollback.mir
+17-19llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+9-7llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-multiple-users.ll
+1-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+93-274 files

LLVM/project def3482lldb/source/Expression DWARFExpression.cpp

[lldb] Extract DW_OP_piece evaluation into a helper (NFC) (#195142)

The DW_OP_piece case was the deepest-nested body in
DWARFExpression::Evaluate, with a switch inside a switch. Move it to a
static Evaluate_DW_OP_piece helper, following the pattern already used
for Evaluate_DW_OP_deref_size and Evaluate_DW_OP_entry_value.
DeltaFile
+135-126lldb/source/Expression/DWARFExpression.cpp
+135-1261 files

LLVM/project 3f2485flibc/src/sched sched_getcpu.h, libc/src/sched/linux sched_getcpu.cpp

Merge branch 'main' into users/modiking/nvptx-setp-predicate-inversion
DeltaFile
+144-3mlir/test/Dialect/OpenACC/acc-compute-lowering-compute.mlir
+80-59mlir/lib/Dialect/OpenACC/Transforms/ACCComputeLowering.cpp
+31-0libc/src/sched/linux/sched_getcpu.cpp
+20-0libc/src/sched/sched_getcpu.h
+18-0libc/test/src/sched/sched_getcpu_test.cpp
+12-0libc/test/src/sched/CMakeLists.txt
+305-628 files not shown
+342-6414 files

FreeNAS/freenas c777c81tests/api2 test_zvol_block_cloning.py

Add zvol block cloning test

zvol block cloning depends on custom TrueNAS kernel patches that add
blkdev_copy_offload() to the block layer. The ZFS code path is gated
behind HAVE_BLKDEV_COPY_OFFLOAD and compiles out on stock kernels, and
there is no existing automated coverage of this path.

The test creates two zvols, issues copy_file_range, and asserts via zdb
that exactly 64 L0 blocks share identical DVAs between src and dst.
Identical DVAs prove the destination references the source's blocks
rather than holding an independent copy.
DeltaFile
+48-0tests/api2/test_zvol_block_cloning.py
+48-01 files

FreeBSD/src b1ece85sbin/dhclient dhclient.c

dhclient: Improve server and filename validation

* Don't iterate over each string three times; once is enough.

* Reject control characters (anything below space) in addition to the
  double quote and backslash.

* If an unsafe character is encountered, discard the string instead of
  rejecting the entire lease.

* If backslashes are encountered in the file name option, convert them
  to forward slashes instead of rejecting the option.

* Tweak the warning messages a bit.  Looking through the rest of the
  code, it seems to me that notes generally end with a period while
  warnings generally don't.

Fixes:          8008e4b88daf ("dhclient: Check for unexpected characters in some DHCP server options")
PR:             294886

    [5 lines not shown]
DeltaFile
+54-21sbin/dhclient/dhclient.c
+54-211 files

FreeBSD/src 6958809sbin/md5 md5.c md5.1

md5: Encode non-printable filenames

Encode filenames in the VIS_CSTYLE | VIS_OCTAL style regardless of
output mode.  When reading filenames from a checksum file, attempt to
decode them, and use the decoded name unless the decoded name does not
exist but the undecoded one does.

This breaks compatibility with GNU coreutils, which unfortunately uses
a non-reversible encoding when outputting filenames containing
non-printable characters.

While here, drop a sentence about preimage attacks against MD5 and SHA1
from the manual page, as I no longer trust it to be true.

MFC after:      1 week
Reviewed by:    bcr, markj
Differential Revision:  https://reviews.freebsd.org/D56615

(cherry picked from commit 70fde0ed6bbbb1f84c440190ba1e5435f8c90e13)
DeltaFile
+35-6sbin/md5/md5.c
+22-8sbin/md5/md5.1
+57-142 files

FreeBSD/src 2f9478asbin/dhclient dhclient.c

dhclient: Improve server and filename validation

* Don't iterate over each string three times; once is enough.

* Reject control characters (anything below space) in addition to the
  double quote and backslash.

* If an unsafe character is encountered, discard the string instead of
  rejecting the entire lease.

* If backslashes are encountered in the file name option, convert them
  to forward slashes instead of rejecting the option.

* Tweak the warning messages a bit.  Looking through the rest of the
  code, it seems to me that notes generally end with a period while
  warnings generally don't.

Fixes:          8008e4b88daf ("dhclient: Check for unexpected characters in some DHCP server options")
PR:             294886

    [5 lines not shown]
DeltaFile
+54-21sbin/dhclient/dhclient.c
+54-211 files

FreeBSD/src 252f603sbin/dhclient dhclient.c

dhclient: Improve server and filename validation

* Don't iterate over each string three times; once is enough.

* Reject control characters (anything below space) in addition to the
  double quote and backslash.

* If an unsafe character is encountered, discard the string instead of
  rejecting the entire lease.

* If backslashes are encountered in the file name option, convert them
  to forward slashes instead of rejecting the option.

* Tweak the warning messages a bit.  Looking through the rest of the
  code, it seems to me that notes generally end with a period while
  warnings generally don't.

Fixes:          8008e4b88daf ("dhclient: Check for unexpected characters in some DHCP server options")
PR:             294886

    [5 lines not shown]
DeltaFile
+54-21sbin/dhclient/dhclient.c
+54-211 files

FreeBSD/src d23df52sbin/md5 md5.c md5.1

md5: Encode non-printable filenames

Encode filenames in the VIS_CSTYLE | VIS_OCTAL style regardless of
output mode.  When reading filenames from a checksum file, attempt to
decode them, and use the decoded name unless the decoded name does not
exist but the undecoded one does.

This breaks compatibility with GNU coreutils, which unfortunately uses
a non-reversible encoding when outputting filenames containing
non-printable characters.

While here, drop a sentence about preimage attacks against MD5 and SHA1
from the manual page, as I no longer trust it to be true.

MFC after:      1 week
Reviewed by:    bcr, markj
Differential Revision:  https://reviews.freebsd.org/D56615

(cherry picked from commit 70fde0ed6bbbb1f84c440190ba1e5435f8c90e13)
DeltaFile
+35-6sbin/md5/md5.c
+22-8sbin/md5/md5.1
+57-142 files

LLVM/project 4287a7cclang/test/CodeGen target-data.c, llvm/lib/TargetParser TargetDataLayout.cpp

[NVPTX] Update data layout string

PR #183207 introduced support in the data layout for targets to specify the
actual nullptr value per address space. If not specified, it defaults to zero.
This PR updates the NVPTX data layout string accordingly.
DeltaFile
+3-3llvm/lib/TargetParser/TargetDataLayout.cpp
+2-2clang/test/CodeGen/target-data.c
+5-52 files

FreeBSD/ports 9f60d78archivers/7-zip distinfo Makefile, archivers/7-zip/files patch-C_CpuArch.h

archivers/7-zip: Update to 26.01

Drop stale patch.

Release notes:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/555e132ba4/
DeltaFile
+0-10archivers/7-zip/files/patch-C_CpuArch.h
+3-3archivers/7-zip/distinfo
+1-2archivers/7-zip/Makefile
+4-153 files

FreeBSD/ports 55db574net-im/kaidan Makefile

net-im/kaidan: Rebuild after net-im/qxmpp update
DeltaFile
+1-0net-im/kaidan/Makefile
+1-01 files

FreeBSD/ports 79dcbfcsysutils/polkit-qt-1 distinfo pkg-plist

sysutils/polkit-qt-1: Update to 0.201.1
DeltaFile
+3-3sysutils/polkit-qt-1/distinfo
+3-3sysutils/polkit-qt-1/pkg-plist
+1-1sysutils/polkit-qt-1/Makefile
+7-73 files

FreeBSD/ports cb6dc1anet-im/qxmpp distinfo Makefile

net-im/qxmpp: Update to 1.15.1
DeltaFile
+3-3net-im/qxmpp/distinfo
+2-2net-im/qxmpp/Makefile
+5-52 files

FreeNAS/freenas 5ed4ff7debian/debian control, src/freenas/usr/local/sbin firmware_update.py

Add support for ARM build
DeltaFile
+161-152src/freenas/usr/local/sbin/firmware_update.py
+4-3debian/debian/control
+4-2src/middlewared/middlewared/utils/nss/nss_common.py
+4-1src/middlewared/middlewared/utils/sensors.py
+3-2src/middlewared/debian/control
+3-1tests/unit/test_pam_config.py
+179-1612 files not shown
+181-1668 files

LLVM/project 16cef47mlir/lib/Dialect/OpenACC/Transforms ACCComputeLowering.cpp, mlir/test/Dialect/OpenACC acc-compute-lowering-compute.mlir acc-compute-lowering-loop.mlir

[mlir][acc] Capture explicit serial semantics for compute regions (#195158)

This PR improves robustness in capturing when user's intent is to treat
OpenACC region as sequential. It does so in the following ways:
- Ensure that `seq` acc.par_width is explicitly used when region is
serial. Previously it was not assigning any acc.par_width which causes
ambiguities because that way it is indistinguishable whether a region is
explicitly serial vs whether the region needs implicitly assigned
parallelism.
- Treas `acc parallel` and `acc kernels` with `num_gangs(1)`
`num_workers(1)` `vector_length(1)` exactly the same as `acc serial`.
This is because these are all parallelism dimensions expressible with
OpenACC clauses and being all set to 1 makes the semantics consistent
with those defined for `acc serial`.
DeltaFile
+144-3mlir/test/Dialect/OpenACC/acc-compute-lowering-compute.mlir
+80-59mlir/lib/Dialect/OpenACC/Transforms/ACCComputeLowering.cpp
+2-2mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir
+226-643 files

LLVM/project 28a4ad5lldb/source/Plugins/ScriptInterpreter/Python ScriptInterpreterPython.cpp

[lldb] Fix help/pydoc output when the statusline is enabled (#169101)

Using Python's built-in help shows an empty screen when the statusline
is enabled. The issue is the pydoc pager (e.g. less) which doesn't play
nice with the statusline. Use the "plain" pager instead.

I considered making this conditional on the statusline, but to do that
right you would need to register a callback that toggles it every time
the setting changes and that doesn't seem worth the complexity.

Fixes #166610
DeltaFile
+8-0lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+8-01 files

LLVM/project f863470libc/src/sched sched_getcpu.h CMakeLists.txt, libc/src/sched/linux sched_getcpu.cpp CMakeLists.txt

[libc] Implement sched_getcpu (#195001)

This is extremely similar to getcpu, but was available in a much earlier
glibc, so a lot more code depends on it. Do a similar implementation. We
can only have a simple smoke test as the only documented failure mode in
the man page is running on a kernel that does not support the system
call, and such kernels (<2.6) are ancient at this point.
DeltaFile
+31-0libc/src/sched/linux/sched_getcpu.cpp
+20-0libc/src/sched/sched_getcpu.h
+18-0libc/test/src/sched/sched_getcpu_test.cpp
+12-0libc/test/src/sched/CMakeLists.txt
+11-0libc/src/sched/linux/CMakeLists.txt
+7-0libc/src/sched/CMakeLists.txt
+99-04 files not shown
+108-010 files

FreeBSD/ports 18ad07fx11-toolkits/libXt Makefile distinfo

x11-toolkits/libXt: Update to 1.3.1

Update Comment, WWW and pkg-descr.
Remove REINPLACE_CMD added in PR 166373 to support clang cpp.

https://lists.x.org/archives/xorg-announce/2024-November/003560.html

PR:             286918
Approved by:    x11 (arrowd)
Reviewed by:    osa (mentor), fluffy (mentor)
DeltaFile
+3-8x11-toolkits/libXt/Makefile
+3-3x11-toolkits/libXt/distinfo
+4-1x11-toolkits/libXt/pkg-descr
+10-123 files

LLVM/project ac01de7llvm/lib/Target/NVPTX NVPTXInstrInfo.td

Update NVPTXInstrInfo.td
DeltaFile
+2-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-11 files

FreeBSD/ports 73582a7x11-fonts/font-isas-misc Makefile distinfo

x11-fonts/font-isas-misc: Update to 1.0.4

Update COMMENT, WWW and pkg-descr.
Add LICENSE.

https://lists.x.org/archives/xorg-announce/2023-February/003357.html

PR:             294088
Approved by:    x11 (arrowd)
Reviewed by:    osa (mentor), fluffy (mentor)
DeltaFile
+9-5x11-fonts/font-isas-misc/Makefile
+3-2x11-fonts/font-isas-misc/distinfo
+3-1x11-fonts/font-isas-misc/pkg-descr
+15-83 files

LLVM/project 9fdad0fllvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge branch 'main' into users/modiking/nvptx-setp-predicate-inversion
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-08,794 files not shown
+1,346,174-227,7318,800 files