FreeBSD/ports ba26427 — benchmarks/netperfmeter distinfo Makefile

benchmarks/netperfmeter: Update 2.0.14 => 2.0.16

The new version contains a number of bug fixes. Particularly, this
version also adds a large CTest test suite for NetPerfMeter and the
included tools (408 tests for FreeBSD with SCTP enabled). The port
therefore adds the necessary dependencies.

Changelog:
https://github.com/dreibh/netperfmeter/blob/netperfmeter-2.0.16/ChangeLog

Commit log:
https://github.com/dreibh/netperfmeter/compare/netperfmeter-2.0.14...netperfmeter-2.0.16

PR:     300946
DeltaFile
+19-8benchmarks/netperfmeter/Makefile
+3-3benchmarks/netperfmeter/distinfo
+22-112 files

FreeBSD/src e61c4b8 — lib/libexecinfo/tests sigtramp_test.c

tests/sigtramp_test: re-enable test on aarch64

This now passes on both aarch64 (since 6a936d939b88)
and amd64. It still fails on other architectures, so
keep the xfail.

PR:             289096
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-6lib/libexecinfo/tests/sigtramp_test.c
+2-61 files

FreeBSD/ports 931ad9b — net/ovhcloud-cli Makefile distinfo

net/ovhcloud-cli: update to 0.17.2

Changelog: https://github.com/ovh/ovhcloud-cli/releases/tag/v0.17.2
DeltaFile
+3-3net/ovhcloud-cli/distinfo
+1-1net/ovhcloud-cli/Makefile
+4-42 files

FreeBSD/ports abe4910 — graphics/pikchr Makefile distinfo

graphics/pikchr: update to last checkin as of 20260403
DeltaFile
+3-3graphics/pikchr/distinfo
+2-2graphics/pikchr/Makefile
+5-52 files

FreeBSD/ports 709b236 — www/trafficserver distinfo pkg-plist, www/trafficserver/files pkg-message.in patch-src_tscore_ink__cap.cc

www/trafficserver: update to 10.2.1.

PR:             300641
DeltaFile
+40-7www/trafficserver/files/trafficserver.in
+24-0www/trafficserver/files/patch-src_tscore_ink__cap.cc
+22-0www/trafficserver/files/pkg-message.in
+10-3www/trafficserver/Makefile
+7-3www/trafficserver/pkg-plist
+3-3www/trafficserver/distinfo
+106-161 files not shown
+108-187 files

FreeBSD/src 138bce7 — usr.sbin/chroot chroot.8 chroot.c

chroot(8): add altroot mode

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+36-14usr.sbin/chroot/chroot.c
+25-0usr.sbin/chroot/chroot.8
+61-142 files

FreeBSD/src 25f21bb — sys/sys user.h

sys/user.h: make KF_FD_TYPE macros safer

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+6-6sys/sys/user.h
+6-61 files

FreeBSD/src c97671a — usr.bin/procstat procstat.1 procstat_files.c

procstat(1): teach about altroot

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+1-1usr.bin/procstat/procstat.1
+2-0usr.bin/procstat/procstat_files.c
+3-12 files

FreeBSD/src face51f — usr.bin/fstat fuser.c fstat.c

fstat(1), fuser(1): teach about altroot

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+4-1usr.bin/fstat/fuser.1
+4-1usr.bin/fstat/fstat.1
+2-0usr.bin/fstat/fstat.c
+1-0usr.bin/fstat/fuser.c
+11-24 files

FreeBSD/src f92ba77 — lib/libprocstat libprocstat.h libprocstat.c

libprocstat(3): teach about altroot

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+9-0lib/libprocstat/libprocstat.c
+1-0lib/libprocstat/libprocstat.h
+10-02 files

FreeBSD/src 8cfae68 — sys/kern kern_descrip.c, sys/sys user.h

kinfo: export altroot

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+7-0sys/kern/kern_descrip.c
+1-0sys/sys/user.h
+8-02 files

FreeBSD/src 29691ec — lib/libsys cap_enter.2

cap_enter.2: document clearing altroot

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+2-0lib/libsys/cap_enter.2
+2-01 files

FreeBSD/src dae40d1 — lib/libsys chroot.2

fchroot.2: document ENOTCAPABLE for O_RESOLVE_BENEATH

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+9-0lib/libsys/chroot.2
+9-01 files

FreeBSD/src 14016b7 — sys/compat/freebsd32 freebsd32_syscall.h freebsd32_systrace_args.c, sys/kern systrace_args.c

Regen
DeltaFile
+44-0sys/kern/systrace_args.c
+44-0sys/compat/freebsd32/freebsd32_systrace_args.c
+10-0sys/sys/sysproto.h
+3-1sys/sys/syscall.mk
+3-1sys/sys/syscall.h
+3-1sys/compat/freebsd32/freebsd32_syscall.h
+107-36 files not shown
+123-312 files

FreeBSD/src 9757c0c — sys/kern syscalls.master vfs_syscalls.c, sys/sys unistd.h

chaltroot(2) and fchaltroot(2): new syscalls

to change the altroot AKA ABI root for native processes

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+85-0sys/kern/vfs_syscalls.c
+10-0sys/kern/syscalls.master
+2-0sys/sys/unistd.h
+97-03 files

FreeBSD/src 06ec614 — sys/kern kern_descrip.c

pwd_altroot(9): expand herald comment

Requested and reviewed by:      markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+5-1sys/kern/kern_descrip.c
+5-11 files

FreeBSD/src 4333964 — sys/kern kern_descrip.c

pwd_altroot(): avoid creating new pwd structure if altroot does not change

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+13-16sys/kern/kern_descrip.c
+13-161 files

FreeBSD/src 06c455d — sys/compat/linux linux_util.c, sys/kern kern_descrip.c

vfs: guard against altroot pointing to not a directory

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+7-2sys/compat/linux/linux_util.c
+4-1sys/kern/kern_descrip.c
+1-1sys/sys/filedesc.h
+12-43 files

FreeBSD/src f2ee207 — include unistd.h, lib/libsys Symbol.sys.map

chaltroot(2)/fchaltroot(2): make accessible to userspace

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+2-0lib/libsys/Symbol.sys.map
+2-0include/unistd.h
+4-02 files

FreeBSD/src e880b7a — sys/security/mac mac_framework.h mac_policy.h, sys/security/mac_stub mac_stub.c

mac(4): add vnode_check_chaltroot

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+18-0sys/security/mac/mac_vfs.c
+15-0sys/security/mac_test/mac_test.c
+9-0sys/security/mac_stub/mac_stub.c
+3-0sys/security/mac/mac_policy.h
+1-0sys/security/mac/mac_framework.h
+46-05 files

FreeBSD/src 3dac774 — sys/bsm audit_kevents.h, sys/security/audit audit_bsm.c

sys: add AUE_CHALTROOT and AUE_FCHALTROOT

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+2-0sys/security/audit/audit_bsm.c
+2-0sys/bsm/audit_kevents.h
+4-02 files

FreeBSD/src db5ea29 — sys/kern sys_capability.c

cap_enter(2): clear altroot when entering cap mode.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+5-0sys/kern/sys_capability.c
+5-01 files

FreeBSD/src 763f6cc — lib/libsys Makefile.sys chroot.2

chroot.2: document chaltroot(2)

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+111-17lib/libsys/chroot.2
+3-1lib/libsys/Makefile.sys
+114-182 files

FreeBSD/src 151a23f — sys/kern vfs_lookup.c

namei: disallow altroot for beneath lookups

Once namei_setup() has determined that the lookup is strictly relative,
set ni_rootdir to pwd_rdir and mark the lookup as already restarted,
which effectively disables restart on ENOENT.

This is done in namei_setup() and not in NDINIT(), because RBENEATH
might be set after NDINIT() by vn_open_cred() or inherited from
the dirfd in fgetvp_lookup(), and ISRESTARTED is cleared by
NDREINIT()/NDRESET().

Noted by:       markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+7-0sys/kern/vfs_lookup.c
+7-01 files

FreeBSD/src 2137bad — sys/kern kern_exec.c

exec_new_vmspace(): drop altroot for native processes if setuid

Noted and reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60035
DeltaFile
+14-0sys/kern/kern_exec.c
+14-01 files

FreeBSD/src b5a5feb — lib/libsysdecode mktables

libsysdecode: Avoid non-portable \> word end boundary in mktables

Whilst we bootstrap our own sed when building on non-FreeBSD, it uses
the system regex(3) implementation, and so inherits its extensions, not
our own. Our implementation and glibc's both include this extension to
POSIX, but macOS's does not, and so even with our bootstrap sed we
cannot use the \> extension when built and run on macOS.

Unfortunately, there is no alternative form we can use; whilst macOS
implements [[:>:]] as an extension that provides this same feature, and
so do we, the regex(3) implementation in glibc does not, and the only
alternative glibc offers is \b, which neither us nor macOS implement.

We could make the form used conditional on the OS, but that starts to
get messy once other Linux libcs enter the picture, which in theory we
somewhat support.

Rewrite both uses to avoid the need for \>. For gen_table, use a pattern
to match the identifier that is precisely the (non-extended) C99

    [23 lines not shown]
DeltaFile
+2-2lib/libsysdecode/mktables
+2-21 files

FreeBSD/src 76212e6 — libexec/nuageinit/tests adduser.lua

nuageinit: Fix typo, whitespace, and lua style in new test

Fixes: e82b8378de19 ("nuageinit: Also add -n to pw usermod and pw groupshow")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3libexec/nuageinit/tests/adduser.lua
+3-31 files

FreeBSD/ports 1a55f82 — dns/encrypted-dns-server Makefile Makefile.crates, dns/encrypted-dns-server/files encrypted_dns.in pkg-message.in

dns/encrypted-dns-server: Update 0.9.21 => 0.9.22

Changelog:
https://github.com/DNSCrypt/encrypted-dns-server/compare/0.9.21...0.9.22

While here:
- Remove patch that fixes build without METRICS as it upstreamed.
- Set ETCDIR to ${PREFIX}/etc/encrypted-dns so it matches the
  chroot() path in the shipped sample configuration.
- Create pkg-message.

PR:     300945
MFH:    2026Q4
(cherry picked from commit bd53704f439a4e83c3d4a2d9540a5c0c4006cdb2)
DeltaFile
+159-141dns/encrypted-dns-server/distinfo
+79-69dns/encrypted-dns-server/Makefile.crates
+27-0dns/encrypted-dns-server/files/pkg-message.in
+5-5dns/encrypted-dns-server/Makefile
+1-1dns/encrypted-dns-server/files/encrypted_dns.in
+271-2165 files

FreeBSD/ports bd53704 — dns/encrypted-dns-server Makefile Makefile.crates, dns/encrypted-dns-server/files encrypted_dns.in pkg-message.in

dns/encrypted-dns-server: Update 0.9.21 => 0.9.22

Changelog:
https://github.com/DNSCrypt/encrypted-dns-server/compare/0.9.21...0.9.22

While here:
- Remove patch that fixes build without METRICS as it upstreamed.
- Set ETCDIR to ${PREFIX}/etc/encrypted-dns so it matches the
  chroot() path in the shipped sample configuration.
- Create pkg-message.

PR:     300945
MFH:    2026Q4
DeltaFile
+159-141dns/encrypted-dns-server/distinfo
+79-69dns/encrypted-dns-server/Makefile.crates
+27-0dns/encrypted-dns-server/files/pkg-message.in
+5-5dns/encrypted-dns-server/Makefile
+1-1dns/encrypted-dns-server/files/encrypted_dns.in
+271-2165 files

FreeBSD/src d5cbb62 — sys/compat/lindebugfs lindebugfs.c

lindebugfs: Do not expose a node before its private data is set

pfs_create_file(), pfs_create_dir() and pfs_create_link() link the new node
into its parent and return, and only then do the debugfs_create_*()
functions set pn_data.  Between the two, the node can already be found by a
lookup but pn_data is NULL, so a concurrent stat(2) or read(2) calls
debugfs_attr(), debugfs_fill() or debugfs_fill_data() which dereference it:
a driver creating debugfs entries while lindebugfs is mounted can panic
whoever is looking at the tree at that moment.  The window is only a few
instructions wide, which made it hard to hit; with a delay added on purpose
it panics at once in debugfs_attr() called from stat(2).

Changing pfs_create_*() to take the data would change the pseudofs API and
ABI.  Use the visibility callback instead: pseudofs checks it before
creating a vnode for a node and before getattr, read and write, so a
node whose pn_data is not set yet is reported as not visible and lookups
return ENOENT.  The data is published with a release store and read with an
acquire load, so whoever sees the pointer sees the initialized dentry_meta.
debugfs_lookup() now also returns NULL for such a node.

    [4 lines not shown]
DeltaFile
+33-8sys/compat/lindebugfs/lindebugfs.c
+33-81 files