FreeBSD/src 9e36aaflib/libsys munmap.2

munmap.2: Unaligned addresses do not return error

We previously claimed that non-page-aligned addresses would return
EINVAL, but the address is in fact rounded down to the page boundary.

Reported by:    Harald Eilertsen <haraldei at anduin.net>
Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
Fixes: dabee6fecc67 ("kern_descrip.c: add fdshare()/fdcopy()")
Differential Revision: https://reviews.freebsd.org/D48465
DeltaFile
+1-3lib/libsys/munmap.2
+1-31 files

FreeNAS/freenas 3e3b229src/middlewared/middlewared/api/base/types network.py, src/middlewared/middlewared/api/v25_04_0 nfs.py __init__.py

NAS-131665 / 25.04 / Convert NFS config to new api. (#15336)

* Convert NFS config to new api.
Added a common 'TcpPort' type.

Fix tcp port exclude option.
Convert bindip_choices to new api.

Convert NFS share CRUD to new api.

* Expand network and host doc string.

* Move some validation from pydantic to nfs plugin.
Add nfs validators module to plugins/nfs_.
Update CI tests.
DeltaFile
+130-54tests/api2/test_300_nfs.py
+148-0src/middlewared/middlewared/api/v25_04_0/nfs.py
+60-85src/middlewared/middlewared/plugins/nfs.py
+74-0src/middlewared/middlewared/plugins/nfs_/validators.py
+20-0src/middlewared/middlewared/api/base/types/network.py
+1-0src/middlewared/middlewared/api/v25_04_0/__init__.py
+433-1391 files not shown
+434-1397 files

FreeNAS/freenas 0de11a0src/middlewared/middlewared/api/v25_04_0 nfs.py

Remove commented out code
DeltaFile
+0-58src/middlewared/middlewared/api/v25_04_0/nfs.py
+0-581 files

LLVM/project 1865048clang/lib/Serialization ASTWriter.cpp

[clang][Serialization] Add the missing block info (#122976)

HEADER_SEARCH_ENTRY_USAGE and VFS_USAGE were missing from the block info
block. Add the missing info so `llvm-bcanalyzer` can read them
correctly.
DeltaFile
+2-0clang/lib/Serialization/ASTWriter.cpp
+2-01 files

LLVM/project ab6e63amlir/include/mlir/IR TypeRange.h ValueRange.h, mlir/lib/IR TypeRange.cpp OperationSupport.cpp

[mlir] Make single value `ValueRange`s memory safer (#121996)

A very common mistake users (and yours truly) make when using
`ValueRange`s is assigning a temporary `Value` to it. Example:
```cpp
ValueRange values = op.getOperand();
apiThatUsesValueRange(values);
```

The issue is caused by the implicit `const Value&` constructor: As per
C++ rules a const reference can be constructed from a temporary and the
address of it taken. After the statement, the temporary goes out of
scope and `stack-use-after-free` error occurs.

This PR fixes that issue by making `ValueRange` capable of owning a
single `Value` instance for that case specifically. While technically a
departure from the other owner types that are non-owning, I'd argue that
this behavior is more intuitive for the majority of users that usually
don't need to care about the lifetime of `Value` instances.

    [2 lines not shown]
DeltaFile
+13-8mlir/include/mlir/IR/TypeRange.h
+17-0mlir/unittests/IR/OperationSupportTest.cpp
+8-8mlir/include/mlir/IR/ValueRange.h
+15-0mlir/lib/IR/TypeRange.cpp
+13-0mlir/lib/IR/OperationSupport.cpp
+66-165 files

FreeNAS/freenas 43958efsrc/middlewared/middlewared/api/v25_04_0 webui_main_dashboard.py __init__.py, src/middlewared/middlewared/plugins/webui main_dashboard.py

NAS-133583 / 25.04 / Convert webui.main.dashboard.sys_info to new API (#15399)

DeltaFile
+20-13src/middlewared/middlewared/plugins/webui/main_dashboard.py
+28-0src/middlewared/middlewared/api/v25_04_0/webui_main_dashboard.py
+1-0src/middlewared/middlewared/api/v25_04_0/__init__.py
+49-133 files

LLVM/project 1e53f95llvm/cmake config-ix.cmake, llvm/include/llvm/Config config.h.cmake

[CMake] Remove some always-true HAVE_XXX_H

These are unneeded even on AIX, PURE_WINDOWS, and ZOS (per #104706)

* HAVE_ERRNO_H: introduced by 1a93330ffa2ae2aa0b49461f05e6f0d51e8443f8 (2009) but unneeded.
  The guarded ABI is unconditionally used by lldb.
* HAVE_FCNTL_H
* HAVE_FENV_H
* HAVE_SYS_STAT_H

Pull Request: https://github.com/llvm/llvm-project/pull/123087
DeltaFile
+0-12utils/bazel/llvm_configs/config.h.cmake
+0-12llvm/include/llvm/Config/config.h.cmake
+0-12utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+3-5llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
+0-5llvm/lib/Support/Errno.cpp
+0-4llvm/cmake/config-ix.cmake
+3-509 files not shown
+5-7615 files

FreeNAS/freenas 1448538src/middlewared/middlewared/api/v25_04_0 virt_instance.py, src/middlewared/middlewared/plugins/virt instance.py

Allow bootstrapping virt VM with zvol
DeltaFile
+28-0tests/api2/test_virt_vm.py
+19-4src/middlewared/middlewared/plugins/virt/instance.py
+20-1src/middlewared/middlewared/api/v25_04_0/virt_instance.py
+67-53 files

FreeNAS/freenas 1501234src/middlewared/middlewared/api/v25_04_0 virt_instance.py, src/middlewared/middlewared/plugins/virt instance.py utils.py

Allow specifying VNC passwords for incus VMs
DeltaFile
+36-7src/middlewared/middlewared/plugins/virt/instance.py
+20-6tests/api2/test_virt_vm.py
+4-11src/middlewared/middlewared/plugins/virt/utils.py
+8-1src/middlewared/middlewared/api/v25_04_0/virt_instance.py
+68-254 files

FreeBSD/ports 504cc96lang/duktape Makefile, lang/duktape-lib Makefile

lang/duktape{,-lib}: bring under desktop@
DeltaFile
+1-1lang/duktape-lib/Makefile
+1-1lang/duktape/Makefile
+2-22 files

LLVM/project ac2165fllvm/lib/MC WinCOFFObjectWriter.cpp

[coff] Don't try to write the obj if the assembler has errors (#123007)

The ASAN and MSAN tests have been failing after #122777 because some
fields are now set in `executePostLayoutBinding` which is skipped by the
assembler if it had errors but read in `writeObject`

Since the compilation has failed anyway, skip `writeObject` if the
assembler had errors.
DeltaFile
+5-0llvm/lib/MC/WinCOFFObjectWriter.cpp
+5-01 files

FreeBSD/src cf90707sys/kern uipc_ktls.c, sys/vm uma_core.c uma.h

Introduce the UMA_ZONE_NOTRIM uma zone type

The ktls buffer zone allocates 16k contiguous buffers, and often needs
to call vm_page_reclaim_contig_domain_ext() to free up contiguous
memory, which can be expensive.  Web servers which have a daily
pattern of peaks and troughs end up having UMA trim the
ktls_buffer_zone when they are in their trough, and end up re-building
it on the way to their peak.

Rather than calling vm_page_reclaim_contig_domain_ext() multiple times
on a daily basis, lets mark the ktls_buffer_zone with a new UMA flag,
UMA_ZONE_NOTRIM.  This disables UMA_RECLAIM_TRIM on the zone, but
allows UMA_RECLAIM_DRAIN* operations, so that if we become extremely
short of memory (vm_page_count_severe()), the uma reclaim worker can
still free up memory.

Note that UMA_ZONE_UNMANAGED already exists, but can never be drained
or trimmed, so it may hold on to memory during times of severe memory
pressure.  Using UMA_ZONE_NOTRIM rather than UMA_ZONE_UNMANAGED is an

    [6 lines not shown]
DeltaFile
+8-3sys/vm/uma_core.c
+1-1sys/kern/uipc_ktls.c
+1-0sys/vm/uma.h
+10-43 files

LLVM/project 943b212llvm/utils/TableGen DecoderEmitter.cpp

[TableGen] Use `std::move` to avoid copy (#123088)

DeltaFile
+1-1llvm/utils/TableGen/DecoderEmitter.cpp
+1-11 files

OpenBSD/ports QXfhr0ax11/alacritty distinfo crates.inc

   x11/alacritty: Update to 0.15.0

   ok Eric Auge (Maintainer)
VersionDeltaFile
1.10+198-202x11/alacritty/distinfo
1.10+98-100x11/alacritty/crates.inc
1.22+1-2x11/alacritty/Makefile
+297-3043 files

LLVM/project b25902allvm/include/llvm/Config config.h.cmake, llvm/lib/Support/Unix Process.inc Program.inc

remove HAVE_FCNTL_H

Created using spr 1.3.5-bogner
DeltaFile
+0-9utils/bazel/llvm_configs/config.h.cmake
+0-9utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+0-6llvm/include/llvm/Config/config.h.cmake
+0-2llvm/lib/Support/Unix/Process.inc
+0-2llvm/lib/Support/Unix/Program.inc
+0-2llvm/lib/Support/Unix/Unix.h
+0-304 files not shown
+0-3710 files

FreeBSD/src 2c5fbcfcddl/contrib/opensolaris/lib/libdtrace/common dt_parser.c

libdtrace: Be less strict when comparing pointer types

If one of two pointers refers to a forward declaration, let the pointers
be compatible so long as the referred types have the same name.
Otherwise we can get spurious errors.

To give a specific example, this can happen when ipfw_nat.ko is loaded
before ipfw.ko and /usr/lib/dtrace/ipfw.d is processed.  Currently,
ipfw_nat.ko does not have a definition for struct inpcb (i.e., none of
its files include in_pcb.h), so in the CTF type graph, struct
ip_fw_args' "inp" member refers to a forward declaration, represented in
CTF with CTF_K_FORWARD.

Then, when libdtrace processes the ipfw_match_info_t translator in
ipfw.d, it decides that the "inp" field assignment is incorrect because
the two pointers are incompatible.  However, there's no harm in allowing
this assignment.  Add some logic to dt_node_is_ptrcompat() to detect
this case and declare the pointers as compatible so long as the name of
the thing they refer to is the same, similar to how any pointer is

    [8 lines not shown]
DeltaFile
+23-0cddl/contrib/opensolaris/lib/libdtrace/common/dt_parser.c
+23-01 files

FreeBSD/src 1132466tools/tools/git git-arc.1

git-arc: Properly quote .nm arg

.Nm git arc has 2 args, despite the mdoc reference saying there's only
one arg when in the preamble and NAME sections, but not noting that
restriction later. Quote the arg and bump the date. This doesn't affect
man git-arc, but does affect the rendering of the man page on at least
one website. Date bumped since it is a semantic change and not just
a typo or other trivial correction.

Reviewed by: jhb
Sponsored by: Netflix
DeltaFile
+2-2tools/tools/git/git-arc.1
+2-21 files

LLVM/project 06499f3llvm/include/llvm/Analysis CmpInstAnalysis.h, llvm/lib/Analysis CmpInstAnalysis.cpp

[InstCombine] Prepare foldLogOpOfMaskedICmps to handle trunc to i1. (NFC) (#122179)

DeltaFile
+66-55llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+14-0llvm/lib/Analysis/CmpInstAnalysis.cpp
+6-0llvm/include/llvm/Analysis/CmpInstAnalysis.h
+86-553 files

FreeNAS/freenas 5b16c3csrc/middlewared/middlewared/plugins/webui main_dashboard.py

only get remote_info on HA
DeltaFile
+10-11src/middlewared/middlewared/plugins/webui/main_dashboard.py
+10-111 files

FreeNAS/freenas 7b87034src/middlewared/middlewared/plugins/webui main_dashboard.py

accepts -> api_method for dashboard.sys_info
DeltaFile
+10-2src/middlewared/middlewared/plugins/webui/main_dashboard.py
+10-21 files

FreeNAS/freenas a48cfaasrc/middlewared/middlewared/api/v25_04_0 webui_main_dashboard.py __init__.py

add webui.main.dashboard.sys_info to new api
DeltaFile
+28-0src/middlewared/middlewared/api/v25_04_0/webui_main_dashboard.py
+1-0src/middlewared/middlewared/api/v25_04_0/__init__.py
+29-02 files

LLVM/project ffbc2f6llvm/include/llvm/Config config.h.cmake, llvm/lib/Analysis ConstantFolding.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5-bogner
DeltaFile
+3-5llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
+0-6llvm/include/llvm/Config/config.h.cmake
+0-5llvm/lib/Support/Errno.cpp
+2-2llvm/lib/Analysis/ConstantFolding.cpp
+0-3llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+0-3utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+5-247 files not shown
+5-3913 files

LLVM/project 1c5f874clang/include/clang/Driver Driver.h

[Driver] Fix a warning

This patch fixes:

  clang/include/clang/Driver/Driver.h:82:3: error: definition of
  implicit copy assignment operator for 'CUIDOptions' is deprecated
  because it has a user-declared copy constructor
  [-Werror,-Wdeprecated-copy]
DeltaFile
+0-1clang/include/clang/Driver/Driver.h
+0-11 files

LLVM/project 0360f81lld/COFF Driver.cpp, lld/test/COFF subsystem-arm64x.test

[LLD][COFF] Infer subsystem from EC symbol table for ARM64X (#122838)

DeltaFile
+41-0lld/test/COFF/subsystem-arm64x.test
+1-1lld/COFF/Driver.cpp
+42-12 files

pkgng/pkgng 27b286adocs pkg-create.8

pkg-create.8: The default default compression is tzst

It can be overriden at configure time (and FreeBSD 13 does so), but here
we should reflect the default default.

Sponsored by:   The FreeBSD Foundation

Signed-off-by: Ed Maste <emaste at FreeBSD.org>
DeltaFile
+1-1docs/pkg-create.8
+1-11 files

FreeBSD/ports bab934bdevel/gitui distinfo Makefile.crates, devel/gitui/files patch-Cargo.lock

devel/gitui: update 0.26.3      # → 0.27.0      #

Reported by:    portscout
DeltaFile
+517-303devel/gitui/distinfo
+257-150devel/gitui/Makefile.crates
+6-6devel/gitui/files/patch-Cargo.lock
+2-3devel/gitui/Makefile
+782-4624 files

FreeBSD/ports 38abec6math/kahip distinfo Makefile, math/py-kahip distinfo Makefile

math/{,py-}kahip: update 3.16 → 3.18

Reported by:    portscout
DeltaFile
+3-3math/kahip/distinfo
+3-3math/py-kahip/distinfo
+1-1math/kahip/Makefile
+1-1math/py-kahip/Makefile
+8-84 files

FreeBSD/ports 95e676btextproc/jaq distinfo Makefile

textproc/jaq: update 2.0.1 → 2.1.0

Reported by:    portscout
DeltaFile
+87-69textproc/jaq/distinfo
+43-34textproc/jaq/Makefile
+130-1032 files

FreeBSD/ports 4cf9155sysutils/mise distinfo Makefile

sysutils/mise: update 2025.1.6 → 2025.1.7

Reported by:    portscout
DeltaFile
+25-25sysutils/mise/distinfo
+12-12sysutils/mise/Makefile
+37-372 files

FreeBSD/ports ae585c8lang/hs-futhark distinfo Makefile

lang/hs-futhark: update 0.25.25 → 0.25.26

Reported by:    portscout
DeltaFile
+125-123lang/hs-futhark/distinfo
+59-55lang/hs-futhark/Makefile
+184-1782 files