FreeBSD/src 4fd518fbin/kenv kenv.1, lib/libsys kenv.2

kern: add a security knob to disable unprivileged access to kenv

We sometimes store sensitive things in the kenv that get zapped, but we
really shouldn't rely on that zapping to actually happen.  Most
unprivileged processes don't really need to read from the kernel
environment in the first place, so add a knob that allows it to be
disabled.

Note that we consider jailed root to be unprivileged from this
perspective; they have their own meta/env concepts and we should
encourage users to take advantage of those for passing information to
jails.

"Hey we should do something about that":        dch
Reviewed by:    imp, ziaee, zlei (all slightly previous version)
Differential Revision:  https://reviews.freebsd.org/D57697
DeltaFile
+40-6sys/kern/kern_environment.c
+9-1bin/kenv/kenv.1
+6-1lib/libsys/kenv.2
+3-1share/man/man7/security.7
+1-0sys/sys/priv.h
+59-95 files

FreeBSD/ports 1496ec7emulators/libspectrum distinfo pkg-plist

emulators/libspectrum: update to 1.6.2

Reported by:    portscout
DeltaFile
+3-3emulators/libspectrum/distinfo
+1-1emulators/libspectrum/pkg-plist
+1-1emulators/libspectrum/Makefile
+5-53 files

FreeBSD/src 88deb1cusr.sbin/makefs/zfs dsl.c

makefs/zfs: Explicitly include sys/param.h for nitems()

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0usr.sbin/makefs/zfs/dsl.c
+1-01 files

FreeBSD/src ca89b0fusr.bin/xinstall xinstall.c

install: Explicitly include sys/param.h for MAXPATHLEN

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0usr.bin/xinstall/xinstall.c
+1-01 files

FreeBSD/ports 03ad836sysutils/nerdctl distinfo Makefile

sysutils/nerdctl: Update to 2.3.3

Changelog: https://github.com/containerd/nerdctl/releases/tag/v2.3.3

PR:             296102
Reviewed by:    thierry (mentor)
Approved by:    thierry (mentor)
DeltaFile
+5-5sysutils/nerdctl/distinfo
+1-2sysutils/nerdctl/Makefile
+6-72 files

FreeBSD/doc eeb699fwebsite/content/ru/releng _index.adoc

website/ru: Update releng/_index.adoc

Update to EN 271dd1d2b598ef558236033d0292a473a44d9f0f
DeltaFile
+5-6website/content/ru/releng/_index.adoc
+5-61 files

FreeBSD/ports 4c7e392multimedia/ffmpeg6 distinfo Makefile

multimedia/ffmpeg6: upgrade to 6.1.6
DeltaFile
+3-3multimedia/ffmpeg6/distinfo
+1-1multimedia/ffmpeg6/Makefile
+1-1multimedia/ffmpeg6/pkg-plist
+5-53 files

FreeBSD/ports c86090fmath/planarity pkg-plist distinfo

math/planarity: upgrade to 5.0.0.0

Release notes at
https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/tag/Version_5.0.0.0
DeltaFile
+13-24math/planarity/pkg-plist
+3-3math/planarity/distinfo
+1-1math/planarity/Makefile
+17-283 files

FreeBSD/ports a346a19cad/freecad-devel pkg-plist distinfo, cad/freecad-devel/files patch-cMake_FreeCAD__Helspers_SetupCoin3D.cmake patch-src_Gui_CMakeLists.txt

cad/freecad-devel: Update to 2026.06.22

Use googletest from ports now.
DeltaFile
+0-29cad/freecad-devel/files/patch-cMake_FreeCAD__Helspers_SetupCoin3D.cmake
+18-0cad/freecad-devel/pkg-plist
+5-7cad/freecad-devel/distinfo
+6-5cad/freecad-devel/Makefile
+4-5cad/freecad-devel/Makefile.git_rev
+4-4cad/freecad-devel/files/patch-src_Gui_CMakeLists.txt
+37-502 files not shown
+41-548 files

FreeBSD/doc ac1bf24website/content/ru/releases/15.1R errata.adoc

website/ru: Update releases/15.1R/errata.adoc

Update to EN a4366bb091ae7ace1d2725a8218666fa29db9197
DeltaFile
+7-3website/content/ru/releases/15.1R/errata.adoc
+7-31 files

FreeBSD/ports 5ffb8c3x11/swayimg distinfo Makefile

x11/swayimg: update to 5.4

Changes:        https://github.com/artemsen/swayimg/releases/tag/v5.4
Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/swayimg/distinfo
+1-1x11/swayimg/Makefile
+4-42 files

FreeBSD/ports 118f4c8multimedia/vmaf pkg-plist distinfo, multimedia/vmaf/files patch-i386

multimedia/vmaf: update to 3.2.0

Changes:        https://github.com/Netflix/vmaf/releases/tag/v3.2.0
Reported by:    GitHub (watch releases)
DeltaFile
+0-76multimedia/vmaf/files/patch-i386
+9-1multimedia/vmaf/pkg-plist
+3-3multimedia/vmaf/distinfo
+1-1multimedia/vmaf/Makefile
+13-814 files

FreeBSD/ports df817bfwww/gallery-dl distinfo Makefile

www/gallery-dl: update to 1.32.4

Changes:        https://github.com/mikf/gallery-dl/releases/tag/v1.32.4
Reported by:    GitHub (watch releases)
DeltaFile
+3-3www/gallery-dl/distinfo
+1-1www/gallery-dl/Makefile
+4-42 files

FreeBSD/src 5bec087sys/dev/acpica acpi_spmc.c, sys/dev/amdsmu amdsmu.c

amdsmu(4), acpi_spmc(4): Fix ordering of calls

The AMD SMU is supposed to be notified of suspension the SPMC has been,
and conversely on resume, as expressed in comments.

Fix the EVENTHANDLER(9) priorities used so that they match the
comments. Lower values indeed indicate higher priority in this
subsystem.

Reviewed by:    obiwac
Fixes:          2c60fce365f4 ("amdsmu: Sleep entry/exit hints for PMFW")
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2sys/dev/amdsmu/amdsmu.c
+2-2sys/dev/acpica/acpi_spmc.c
+4-42 files

FreeBSD/doc 7f63db6website/content/ru administration.adoc

website/ru: Update administration.adoc

Update to EN 6ae188e12756359415577a140603168756ec2758
DeltaFile
+3-3website/content/ru/administration.adoc
+3-31 files

FreeBSD/src df8ca3flib/libsys kqueue.2

kqueue.2: knote is activated as the first action of tdsendsignal()

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+1-1lib/libsys/kqueue.2
+1-11 files

FreeBSD/ports 90519e8lang/rust-nightly distinfo Makefile, lang/rust-nightly/files patch-compiler_rustc__target_src_callconv_powerpc64.rs

lang/rust-nightly: update 1.98.0.20260608 → 1.98.0.20260621

Approved by:    rust (implicit)
DeltaFile
+0-11lang/rust-nightly/files/patch-compiler_rustc__target_src_callconv_powerpc64.rs
+3-3lang/rust-nightly/distinfo
+1-1lang/rust-nightly/Makefile
+4-153 files

FreeBSD/ports 6db9f8esysutils/py-dbuild distinfo

sysutils/py-dbuild: Fix distinfo

Reported by:    pkg-fallout
DeltaFile
+2-2sysutils/py-dbuild/distinfo
+2-21 files

FreeBSD/src 1ca439ausr.sbin/etcupdate etcupdate.8

etcupdate: Recommend building when bootstrapping

Since building is no longer the default, add -b to the bootstrapping
examples as they are likely to be run with a tree that hasn't been
built.

MFC after:      1 week
Fixes:          ddf6fad0295a ("etcupdate: Make nobuild the default")
Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D57643
DeltaFile
+3-3usr.sbin/etcupdate/etcupdate.8
+3-31 files

FreeBSD/src 53a3d47usr.sbin/etcupdate etcupdate.sh

etcupdate: Warn if the tree hasn't been built

Warn the user before trying `make installetc` if etcupdate was invoked
without -b (or with -B) and it appears that `make buildetc` hasn't
already been run (which usually happens as part of `make buildworld`).

MFC after:      1 week
Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D57504
DeltaFile
+14-1usr.sbin/etcupdate/etcupdate.sh
+14-11 files

FreeBSD/ports 05833b3sysutils/py-healthchecks pkg-plist distinfo

sysutils/py-healthchecks: Update to 4.2

ChangeLogs:

- https://github.com/healthchecks/healthchecks/releases/tag/v4.1
- https://github.com/healthchecks/healthchecks/releases/tag/v4.2
DeltaFile
+18-6sysutils/py-healthchecks/pkg-plist
+3-3sysutils/py-healthchecks/distinfo
+1-1sysutils/py-healthchecks/Makefile
+22-103 files

FreeBSD/src e4c4c6esys/ofed/drivers/infiniband/core ib_umem.c, sys/ofed/include/rdma ib_verbs.h

RDMA: dma-mapping: use unsigned long for dma_attrs

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Obtained from:  Linux commit 00085f1efa387a8ce100e3734920f7639c80caa3
Sponsored by:   Chelsio Communications
DeltaFile
+10-10sys/ofed/include/rdma/ib_verbs.h
+3-3sys/ofed/drivers/infiniband/core/ib_umem.c
+13-132 files

FreeBSD/src 49ee94bsys/ofed/drivers/infiniband/ulp/ipoib ipoib_ib.c ipoib_multicast.c

IB/ipoib: Prevent hung task or softlockup processing multicast response

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Obtained from:  Linux commit 3874397c0bdec3c21ce071711cd105165179b8eb
Sponsored by:   Chelsio Communications
DeltaFile
+8-5sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+5-2sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
+1-1sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
+14-83 files

FreeBSD/src 259a763sys/ofed/drivers/infiniband/core ib_cq.c, sys/ofed/include/rdma ib_verbs.h

OFED: Implement ib_process_cq_direct

This is largely pulled from the original Linux commit to add cq.c.
Note that irq_poll is still not supported, but polling should now be
possible whereas it wasn't really before.

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Obtained from:  Linux commit 14d3a3b2498edadec344cb11e60e66091f5daf63
Sponsored by:   Chelsio Communications
DeltaFile
+68-30sys/ofed/drivers/infiniband/core/ib_cq.c
+3-0sys/ofed/include/rdma/ib_verbs.h
+71-302 files

FreeBSD/src fbe76easys/ofed/drivers/infiniband/ulp/ipoib ipoib_cm.c ipoib_main.c

OFED: Use vmalloc() and vzalloc() in various places

This contains changes from the following Linux commits:

10313cbb9220 IPoIB: Allocate priv->tx_ring with vmalloc()
b1404069f644 IPoIB/cm: Use vmalloc() to allocate rx_rings
948579cd8c6e RDMA: Use vzalloc() to replace vmalloc()+memset(0)

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+7-10sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+3-4sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
+10-142 files

FreeBSD/src 1a9ef1asys/ofed/drivers/infiniband/core ib_cma.c

OFED: Use prandom_u32() to reduce diff with upstream

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+1-3sys/ofed/drivers/infiniband/core/ib_cma.c
+1-31 files

FreeBSD/ports 7d6784bdevel/sem distinfo Makefile

devel/sem: Update to 0.13.0
DeltaFile
+3-3devel/sem/distinfo
+1-1devel/sem/Makefile
+4-42 files

FreeBSD/ports ecaf777textproc/miller distinfo Makefile

textproc/miller: Update to 6.19.0
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

FreeBSD/src 45a0cb5libexec/rtld-elf rtld.c

rtld: Check for -1 as an-end-of-section marker

rtld calls functions in the .init_array section one at a time, until
it finds a distinguished sentinel value. The C runtime does the same
thing (in crtend.c). However, that checks for the sentinel -1 and not
1. If one is using a linker that unifies .ctors and .init_array, then
rtld will miss the sentinel value. I believe the author of this code
intended to write -1 instead of 1. Indeed, changing the code to also
check for -1 prevents rtld from attempting to call a non-existent
function. The same is true of .dtors and .fini_array.

Signed-off-by:  Daniel Levin <daniellevin2607 at gmail.com>
Reviewed by:    kib
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2270
DeltaFile
+4-2libexec/rtld-elf/rtld.c
+4-21 files

FreeBSD/ports 461e8c9www/nextcloud-deck distinfo Makefile

www/nextcloud-deck: Update to 1.17.4
DeltaFile
+3-3www/nextcloud-deck/distinfo
+1-1www/nextcloud-deck/Makefile
+4-42 files