FreeBSD/src b2751d9share/mk local.sys.env.mk

We also get _HOST_OSREL from host-target.mk
DeltaFile
+1-1share/mk/local.sys.env.mk
+1-11 files

FreeBSD/src 34a3834contrib/bmake bmake.1 make.1, contrib/bmake/unit-tests moderrs.exp

Merge bmake-20260313

Merge commit 'fe271bdb43cf88ee129d94c0e286fe618fd28e89'
DeltaFile
+46-59contrib/bmake/bmake.1
+46-59contrib/bmake/make.1
+82-0contrib/bmake/ChangeLog
+40-40contrib/bmake/unit-tests/moderrs.exp
+22-55contrib/bmake/meta.c
+40-30contrib/bmake/var.c
+276-24371 files not shown
+999-61677 files

FreeBSD/src fe271bd. bmake.1 make.1, unit-tests moderrs.exp

Import bmake-20260313

Intersting/relevant changes since bmake-20251111

ChangeLog since bmake-20251111

2026-03-12  Simon J Gerraty  <sjg at beast.crufty.net>

        * VERSION (_MAKE_VERSION): 20260313
        Merge with NetBSD make, pick up
        o make: ensure .MAKE.SAVE_DOLLARS is initialized so makefiles like
        sys.vars.mk can test its value to know how to deal with macros
        that need to save '$' during ':='.

        * Makefile: default MAKE_SAVE_DOLLARS_DEFAULT to "no"
        for traditional behavior.

2026-03-10  Simon J Gerraty  <sjg at beast.crufty.net>


    [108 lines not shown]
DeltaFile
+46-59bmake.1
+46-59make.1
+82-0ChangeLog
+40-40unit-tests/moderrs.exp
+22-55meta.c
+40-30var.c
+276-24368 files not shown
+958-60374 files

FreeBSD/src c5961b6usr.bin/yes/tests yes_test.sh

yes: fix argv test race between fork and exec

The argv test checks ps(1) output immediately after backgrounding yes(1), but
the forked child briefly shows the parent shell's argv before exec(2) replaces it.
This caused intermittent failures where ps(1) captured the atf shell wrapper
command line instead of "yes y".

Approved by:    des
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D56231
DeltaFile
+2-0usr.bin/yes/tests/yes_test.sh
+2-01 files

FreeBSD/src 63d0e3erelease/packages generate-set-ucl.lua generate-ucl.lua

packages: Fix build with libucl 0.9.3

In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser.  This breaks the package build, which
relies on includes.  Fix this by explicitly passing zero flags
to ucl.parser().

MFC after:      3 days
Fixes:          abda442d92fd ("contrib/libucl:  Import libucl 0.9.3")
Reviewed by:    kevans, bapt
Reported by:    freebsd at walstatt-de.de
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56266
DeltaFile
+1-1release/packages/generate-set-ucl.lua
+1-1release/packages/generate-ucl.lua
+2-22 files

FreeBSD/src 7764e9clib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files

FreeBSD/src 2abaf8ausr.bin/diff3 diff3.c

diff3: plug fd leak

MFC After:      1 week
Reported by:    kib

(cherry picked from commit 33424fd50ee0333bc6f70b5b14a270b85e5b5de1)
DeltaFile
+1-0usr.bin/diff3/diff3.c
+1-01 files

FreeBSD/src f5d3d35usr.bin/diff pr.c

diff: use O_CLOEXEC on pipes

This only simplifies the code, no functional changes expected

MFC After:      1 week

(cherry picked from commit c8d40bf8ecc60cc15e3904410db62065ea681fdc)
DeltaFile
+2-5usr.bin/diff/pr.c
+2-51 files

FreeBSD/src 8cc85a8usr.bin/diff pr.c

diff: prefer posix_spawn over pdfork/execl

MFC After:              1 week
Reviewed by:            kib
Differential Revision:  https://reviews.freebsd.org/D56076

(cherry picked from commit 6d8b2ac449f34423be9d56492022421db61d920e)
DeltaFile
+39-23usr.bin/diff/pr.c
+39-231 files

FreeBSD/src 8fade07usr.bin/diff3 diff3.c

diff3: set O_CLOEXEC on pipes

This avoid leaking pipe fd in children and simplifies the code

MFC After:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D56120

(cherry picked from commit 945e60e018c287f8097f3ee4a30ccf4921845aa1)
DeltaFile
+2-6usr.bin/diff3/diff3.c
+2-61 files

FreeBSD/src 0c0e08busr.bin/diff diffreg.c

diff: handle read(2) failures

MFC After:      1 week

(cherry picked from commit 9b98c4b053917cad42e26596b37df72efab6dc39)
DeltaFile
+5-0usr.bin/diff/diffreg.c
+5-01 files

FreeBSD/src 210f4d8usr.bin/diff3 diff3.c

diff3: prefer posix_spawn over pdfork/execlp

MFC After:              1 week
Reviewed by:            kib
Differential Revision:  https://reviews.freebsd.org/D56075

(cherry picked from commit 5f7f0efe8e13247fc80a2a739e757f73a5d7ebda)
DeltaFile
+29-18usr.bin/diff3/diff3.c
+29-181 files

FreeBSD/src e6db4ddsys/fs/nfs nfsid.h nfs.h, usr.sbin/nfsuserd nfsuserd.c

nfsid.h: Put the nfsd_idargs structure in a new .h

This patch moves the definition of the nfsd_idargs
structure out of nfs.h and into a new file called
nfsid.h.

This is being done so that it can be included in
nfs_diskless.c in a future commit.

There should be no semantics change from this
commit.

MFC after:      1 week
Fixes:  8b9775912cbc ("nfs_diskless: Add support for an NFSv4 root fs")
DeltaFile
+67-0sys/fs/nfs/nfsid.h
+0-23sys/fs/nfs/nfs.h
+1-0sys/fs/nfs/nfs_commonport.c
+1-0sys/fs/nfs/nfs_commonsubs.c
+0-1sys/fs/nfs/nfs_var.h
+1-0usr.sbin/nfsuserd/nfsuserd.c
+70-246 files

FreeBSD/src 2c72d82. libcrux_mlkem768_sha3.h ChangeLog

Vendor import of OpenSSH 10.3p1

Sponsored by:   The FreeBSD Foundation
DeltaFile
+7,257-7,843libcrux_mlkem768_sha3.h
+2,871-1,684ChangeLog
+585-426moduli
+222-213channels.c
+172-173.depend
+253-51packet.c
+11,360-10,390245 files not shown
+16,140-12,752251 files

FreeBSD/src 5c36d1bsys/dev/sound/usb uaudio_pcm.c uaudio.c

snd_uaudio: Retire sndcard_func usage

This is effectively a no-op, as it does not make use of the
sndcard_func->varinfo field, so eventually ua_probe() always succeeds.

Also change ua_probe()'s value to 0. There is no need to return
BUS_PROBE_DEFAULT, because snd_uaudio() attaches the sound(4)'s children
with bus_attach_children().

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56160

(cherry picked from commit 0efd33382504d3172734fa21325fcabef9c7f063)
DeltaFile
+1-12sys/dev/sound/usb/uaudio_pcm.c
+0-5sys/dev/sound/usb/uaudio.c
+1-172 files

FreeBSD/src 77e5da3lib/libc/gen posix_spawn.3

posix_spawn_file_action_addopen.3: ignoring close failure is now approved

(cherry picked from commit b7b485efac8c1b601b9c0ada39921bad0e342970)
DeltaFile
+4-2lib/libc/gen/posix_spawn.3
+4-21 files

FreeBSD/src cf1f215sys/dev/mlx5/mlx5_en mlx5_en_main.c, sys/net iflib.c iflib.h

net: Add SIOCGI2CPB ioctl & add page/bank fields to ifi2creq

This commit adds page & bank fields to ifi2creq in preparation
for adding CMIS support for 400g optics to ifconfig.
The new ioctl SIOCGI2CPB is added, so that drivers can distinguish
between callers asking for page/bank selection and legacy callers
that simply failed to zero out all ifi2creq fields.

The mlx5en(4) driver and iflib(4) driver frameork have been updated
to use this new SIOCGI2CPB ioctl and support page/bank operations.
A follow-on patchset will add support to ifconfig for reporting
data from CMIS optics.

This has been tested on Nvidia ConnectX-7 and Broadcom Thor2 (using
out of tree driver) based NICs.

Differential Revision: https://reviews.freebsd.org/D55912
Sponsored by: Netflix Inc.
Reviewed by: kib
DeltaFile
+16-2sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+9-0sys/net/iflib.c
+4-1sys/net/iflib.h
+3-2sys/net/if.h
+1-0sys/sys/sockio.h
+33-55 files

FreeBSD/src c84049cshare/misc committers-ports.dot

Add myself as a committer

Approved by:    makc (mentor)
DeltaFile
+3-0share/misc/committers-ports.dot
+3-01 files

FreeBSD/src 8b97759sys/fs/nfs nfs_var.h, sys/fs/nfsclient nfs_clport.c nfs_clstate.c

nfs_diskless: Add support for an NFSv4 root fs

Without this patch, diskless root NFS file systems
could only be mounted via NFSv3 (or NFSv2).
This patch adds the basic support needed to mount
a root fs via NFSv4.

At this time, the NFSv4 mount will only work if
the following is done on the NFS server configuration:
- The root directory specified in the "V4:" line in
  /etc/exports must be "/".  This is needed since the
  path to mount must be the same for NFSv3 and NFSv4.
- The NFS server must be configured to do both NFSv3
  and NFSv4, since the bootstrap code still uses NFSv3.
- The NFSv4 server must be configured with:
  vfs.nfs.enable_uidtostring=1
  vfs.nfsd.enable_stringtouid=1
  since the NFSv4 root fs cannot be running nfsuserd(8)
  when it is booting.  (This limitation may be removed

    [14 lines not shown]
DeltaFile
+25-12sys/nfs/nfs_diskless.c
+31-0sys/fs/nfsclient/nfs_clport.c
+15-2sys/fs/nfsclient/nfs_clstate.c
+5-2sys/fs/nfsclient/nfs_clvfsops.c
+2-1sys/fs/nfsclient/nfs_clrpcops.c
+1-0sys/fs/nfs/nfs_var.h
+79-176 files

FreeBSD/src cb81314. CONTRIBUTING.md

CONTRIBUTING.md: Correct typo

Reported by:    vladlen
DeltaFile
+1-1CONTRIBUTING.md
+1-11 files

FreeBSD/src 081f52alib/msun/aarch64 fenv.c, lib/msun/amd64 fenv.c

msun: remove requirement to have C99 inline semantic

PR:     277958

(cherry picked from commit d15733065c4221dcd5bb3622d225760f271f6fc9)
DeltaFile
+0-5lib/msun/aarch64/fenv.c
+0-5lib/msun/amd64/fenv.c
+0-5lib/msun/arm/fenv.c
+0-5lib/msun/i387/fenv.c
+0-5lib/msun/powerpc/fenv.c
+0-5lib/msun/riscv/fenv.c
+0-306 files

FreeBSD/src 60b5183lib/msun/amd64 fenv.c, lib/msun/i387 fenv.c

msun/x86: convert rest of the extern inline fenv functions to proper linkage

PR:     277958

(cherry picked from commit 5bc64b7d417dd1f105755e093f8e807bcdc2a666)
DeltaFile
+27-5lib/msun/amd64/fenv.c
+27-5lib/msun/i387/fenv.c
+20-9lib/msun/x86/fenv.h
+74-193 files

FreeBSD/src f13155clib/msun/riscv fenv.c fenv.h

msun/riscv: convert fenv functions to proper linkage

PR:     277958

(cherry picked from commit 6b89f5360f8441ffd1a3e8db7375ed3ccdba7d2a)
DeltaFile
+71-13lib/msun/riscv/fenv.c
+39-12lib/msun/riscv/fenv.h
+110-252 files

FreeBSD/src faca80flib/msun/arm fenv.c fenv.h

msun/arm: convert fenv functions to proper linkage

PR:     277958

(cherry picked from commit 70674434e2424d61262322702d0415e54d8cc1a2)
DeltaFile
+105-28lib/msun/arm/fenv.c
+45-13lib/msun/arm/fenv.h
+150-412 files

FreeBSD/src 2d81a95lib/msun/powerpc fenv.c fenv.h

msun/powerpc: convert fenv functions to proper linkage

PR:     277958

(cherry picked from commit e4505a58a77f6f4f2df60d26ea99710af6c6b3cf)
DeltaFile
+73-16lib/msun/powerpc/fenv.c
+39-12lib/msun/powerpc/fenv.h
+112-282 files

FreeBSD/src 492843dlib/msun/aarch64 fenv.c fenv.h

msun/aarch64: convert fenv functions to proper linkage

PR:     277958

(cherry picked from commit 3a01e1e1a50cb9a9594aac2148dc920a6b295428)
DeltaFile
+59-13lib/msun/aarch64/fenv.c
+31-10lib/msun/aarch64/fenv.h
+90-232 files

FreeBSD/src 9687de5lib/msun/aarch64 fenv.c fenv.h, lib/msun/amd64 fenv.c

fenv.h: stop declaring feclearexcept() extern inline

PR:     277958

(cherry picked from commit f39754d51b7dc65c4cf9f8b41b6fc1fc135554e7)
DeltaFile
+5-2lib/msun/x86/fenv.h
+6-1lib/msun/aarch64/fenv.c
+5-2lib/msun/aarch64/fenv.h
+6-1lib/msun/amd64/fenv.c
+6-1lib/msun/arm/fenv.c
+6-1lib/msun/i387/fenv.c
+34-85 files not shown
+58-1311 files

FreeBSD/src 75767bbcontrib/expat Changes, contrib/expat/doc reference.html xmlwf.xml

contrib/expat: import expat 2.7.5

Changes: https://github.com/libexpat/libexpat/blob/R_2_7_5/expat/Changes
         https://github.com/libexpat/libexpat/blob/R_2_7_4/expat/Changes

Security:       CVE-2026-32776
Security:       CVE-2026-32777
Security:       CVE-2026-32778
Security:       CVE-2026-24515
Security:       CVE-2026-25210

(cherry picked from commit ae04c7bbf065278687fa930e81a96767e9009d38)
DeltaFile
+2,814-1,863contrib/expat/doc/reference.html
+244-244contrib/expat/doc/xmlwf.xml
+130-56contrib/expat/xmlwf/xmlwf_helpgen.py
+112-61contrib/expat/lib/xmlparse.c
+141-18contrib/expat/Changes
+119-0contrib/expat/lib/libexpat.map.in
+3,560-2,24229 files not shown
+3,822-2,33935 files

FreeBSD/src 1ac7c32contrib/expat Changes, contrib/expat/doc reference.html xmlwf.xml

contrib/expat: import expat 2.7.5

Changes: https://github.com/libexpat/libexpat/blob/R_2_7_5/expat/Changes
         https://github.com/libexpat/libexpat/blob/R_2_7_4/expat/Changes

Security:       CVE-2026-32776
Security:       CVE-2026-32777
Security:       CVE-2026-32778
Security:       CVE-2026-24515
Security:       CVE-2026-25210

(cherry picked from commit ae04c7bbf065278687fa930e81a96767e9009d38)
DeltaFile
+2,814-1,863contrib/expat/doc/reference.html
+244-244contrib/expat/doc/xmlwf.xml
+130-56contrib/expat/xmlwf/xmlwf_helpgen.py
+112-61contrib/expat/lib/xmlparse.c
+141-18contrib/expat/Changes
+119-0contrib/expat/lib/libexpat.map.in
+3,560-2,24229 files not shown
+3,822-2,33935 files

FreeBSD/src 0b94911contrib/expat Changes, contrib/expat/doc reference.html xmlwf.xml

contrib/expat: import expat 2.7.5

Changes: https://github.com/libexpat/libexpat/blob/R_2_7_5/expat/Changes
         https://github.com/libexpat/libexpat/blob/R_2_7_4/expat/Changes

Security:       CVE-2026-32776
Security:       CVE-2026-32777
Security:       CVE-2026-32778
Security:       CVE-2026-24515
Security:       CVE-2026-25210

(cherry picked from commit ae04c7bbf065278687fa930e81a96767e9009d38)
DeltaFile
+2,814-1,863contrib/expat/doc/reference.html
+244-244contrib/expat/doc/xmlwf.xml
+130-56contrib/expat/xmlwf/xmlwf_helpgen.py
+112-61contrib/expat/lib/xmlparse.c
+141-18contrib/expat/Changes
+119-0contrib/expat/lib/libexpat.map.in
+3,560-2,24229 files not shown
+3,822-2,33935 files