FreeBSD/src e3bfcf6. RELNOTES

RELNOTES: Add some entries from the past several weeks

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D54628
DeltaFile
+32-0RELNOTES
+32-01 files

FreeBSD/src b558c92release Makefile.ec2

EC2: Add extra SSM Parameter names for releases

Record releases in the SSM Parameter Store not just as e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE
but also as .../RELEASE/latest, e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest

The latter parameters will be updated when new AMIs are built with
security and errata updates appplied, and have been backfilled for
15.0.

MFC after:      3 days
MFC to:         stable/15 (14.x will not get security-update AMIs)
Sponsored by:   Amazon
DeltaFile
+5-1release/Makefile.ec2
+5-11 files

FreeBSD/src 9b54998. MAINTAINERS, .github CODEOWNERS

MAINTAINERS/CODEOWNERS: Add myself to mpr, mps and mpi3mr

Yea, I realize these are decaying, but I'm going to take a run at
automatically tagging reviews for github pull requests. I suspect that
tagging will help with the 'stale' issues with at least CODEOWNER.  As
better data becomes available, especailly for contrib, I'll update
things.

Sponsored by:           Netflix
DeltaFile
+3-0.github/CODEOWNERS
+3-0MAINTAINERS
+6-02 files

FreeBSD/src a50789dsys/powerpc/powerpc swtch32.S swtch64.S

powerpc: put the isync inside the TD_LOCK() checking loop

Fix a narrow window where the lock is unlocked but the checking CPU
hasn't flushed things appropriately.

Inside this window the CPU inside cpu_switch() will loop forever thinking
the destination thread is still blocked/locked even though it is not.

This manifests as the system hanging after starting all APs.

I've seen this reliably trigger in qemu-system-ppc64 running power9 pseries
guests; the more CPUs the more likely it triggers at boot.

PR: kern/292167
Differential Revision:  https://reviews.freebsd.org/D54478
Reviewed by:    jhibbits
MFC after:      1 week
Relnotes:       yes

(cherry picked from commit 8df2e542146801fd01675e56724eaa567d04c209)
DeltaFile
+1-1sys/powerpc/powerpc/swtch32.S
+1-1sys/powerpc/powerpc/swtch64.S
+2-22 files

FreeBSD/src e5861dccontrib/file/src apprentice.c

Merge commit faa5141b9be4 from file git (by Christos Zoulas):

  PR/656: harry.sintonen: Fix bug in byte swapping that was caused by the change to make flags uint16_t and cont_level uint8_t.

This fixes using a magic.mgc built with a different endianness than
file(1) itself, e.g. when building powerpc64 on amd64.

PR:             292079
Fixes:          ae316d1d1cff ("MFV: file 5.46.")
MFC after:      3 days

(cherry picked from commit 39047538cf5d8f26112f7b08b3c56967f70f7f94)
DeltaFile
+2-3contrib/file/src/apprentice.c
+2-31 files

FreeBSD/src da5d94dusr.bin/grep zgrep.1, usr.bin/grep/tests grep_freebsd_test.sh

Remove obsolete BUGS section from zgrep(1) man page, add test

I forgot to check/update the man page with D54217. While here add
a test for multiple -e flags.

Reviewed by:    markj
Approved by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54632
DeltaFile
+0-18usr.bin/grep/zgrep.1
+11-0usr.bin/grep/tests/grep_freebsd_test.sh
+11-182 files

FreeBSD/src 4250d2acontrib/mtree mtree.8 create.c

Import latest mtree from NetBSD

Merge commit '7e59b238fcf32f3d365e78ddc702ca494e1ff68d'

This commit partially reverts the previous vendor import, given that the
"type" keyword has been historically mandatory and should not be removed
by "-R all".  This was clarified in the man page.

Reported by:    glebius
PR:             219467
MFC after:      1 week
DeltaFile
+12-12contrib/mtree/mtree.8
+3-4contrib/mtree/create.c
+15-162 files

FreeBSD/src 7e59b23. mtree.8 create.c

Vendor import of NetBSD's mtree at 2026-01-11
DeltaFile
+12-12mtree.8
+3-4create.c
+15-162 files

FreeBSD/src 717ae16sbin/newfs newfs.c

newfs: Add -u to getopt string

Fixes:          68562f8145e8 ("newfs: Add an option to disable soft updates")
DeltaFile
+1-1sbin/newfs/newfs.c
+1-11 files

FreeBSD/src 8a21c17contrib/kyua/cli cmd_debug.cpp, contrib/kyua/utils/cmdline options.cpp parser.cpp

kyua: Add "debug -x|--execute cmd" option

With execenv=jail specified, the "cmd" runs inside the test's jail.

Reviewed by:    ngie, markj
Differential Revision:  https://reviews.freebsd.org/D52642
DeltaFile
+81-1contrib/kyua/cli/cmd_debug.cpp
+24-0contrib/kyua/utils/process/child.cpp
+20-0contrib/kyua/utils/process/child.ipp
+17-3contrib/kyua/utils/cmdline/options.cpp
+15-5contrib/kyua/utils/cmdline/parser.cpp
+6-2contrib/kyua/utils/cmdline/options.hpp
+163-113 files not shown
+178-119 files

FreeBSD/src 7afa039release/powerpc mkisoimages.sh

powerpc: fix release image building for Apple partitions

awk changed somewhere between 14 and 15 and it stopped accepting
a hexadecimal number as its input - it will always return 0.
This results in a very badly written apple boot block.

So just remove it; do the math in shell.

PR:             kern/292341
Differential Revision:  https://reviews.freebsd.org/D54639
Reviewed by:    imp
MFC after:      1 week
DeltaFile
+1-1release/powerpc/mkisoimages.sh
+1-11 files

FreeBSD/src 9fed072share/mk bsd.man.mk

bsd.man.mk simplify staging

We actually only need the high level targets stage_files and stage_links
meta.stage.mk will take care of the details.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

FreeBSD/src 9cd89fcshare/mk bsd.man.mk

bsd.man.mk fix staging

The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.

For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

FreeBSD/src 68562f8sbin/newfs newfs.8 newfs.c

newfs: Add an option to disable soft updates

A previous commit turned soft updates on by default for UFS2 without
providing a way to turn them off.  This corrects that by adding a new -u
flag which forces soft updates (and soft updates journaling) off.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Fixes:          61dece6d27fb ("Enable soft updates by default for UFS2 filesystems.")
Reviewed by:    mckusick
Differential Revision:  https://reviews.freebsd.org/D54576
DeltaFile
+18-6sbin/newfs/newfs.8
+6-3sbin/newfs/newfs.c
+24-92 files

FreeBSD/src dda55f8sys/dev/cxgbe/common t4_regs.h t4_hw.c, sys/dev/cxgbe/firmware t7fw_cfg.txt t7fw_cfg_uwire.txt

cxgbe(4): Update shared code and config files

Obtained from:  Chelsio Communications
MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,399-4565 files

FreeBSD/src 01c0005sys/dev/cxgbe t4_sge.c

cxgbe(4): Move CPL-specific handling out of eth_rx

IPsec rx uses a new CPL and this prepares eth_rx for IPsec support in
future commits.

Tidy up the comment and code around M_TSTMP while here.

MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+67-64sys/dev/cxgbe/t4_sge.c
+67-641 files

FreeBSD/src 8a4277bcontrib/bmake var.c, contrib/bmake/unit-tests directive-include-guard.exp directive-include-guard.mk

Merge bmake-20250414

Merge commit '284d1f7d496806b18558ab55e4654fd5e96d6a3e'

(cherry picked from commit 759b177aecbfc49ebc900739954ac56b1aa5fc53)
DeltaFile
+89-89contrib/bmake/var.c
+84-84contrib/bmake/unit-tests/directive-include-guard.exp
+84-84contrib/bmake/unit-tests/directive-include-guard.mk
+75-42contrib/bmake/unit-tests/moderrs.exp
+55-36contrib/bmake/unit-tests/varmod.mk
+42-42contrib/bmake/unit-tests/directive-misspellings.exp
+429-377187 files not shown
+2,030-1,467193 files

FreeBSD/src c95f96dcontrib/bmake configure var.c, contrib/bmake/mk options.mk ChangeLog

Update to bmake-20251111

Merge commit '638c66de4a0faa4c2e815e81cd4021c2387c7e0f'

(cherry picked from commit c60f6422ffae3ea85e7b10bad950ad27c463af18)
DeltaFile
+102-46contrib/bmake/mk/options.mk
+44-9contrib/bmake/configure
+49-0contrib/bmake/mk/ChangeLog
+43-3contrib/bmake/var.c
+37-0contrib/bmake/ChangeLog
+34-2contrib/bmake/configure.in
+309-6087 files not shown
+690-69893 files

FreeBSD/src 06366a2contrib/bmake ChangeLog, contrib/bmake/mk meta2deps.py ChangeLog

Merge bmake-20250804

Fixes bug in meta mode output capture.

Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'

(cherry picked from commit b4894eca1ade4e9cec9afbe76021305d23bf914a)
DeltaFile
+30-0contrib/bmake/unit-tests/meta-output.mk
+23-5contrib/bmake/mk/meta2deps.py
+17-0contrib/bmake/mk/ChangeLog
+12-2contrib/bmake/mk/meta2deps.sh
+11-0contrib/bmake/unit-tests/meta-output.exp
+9-0contrib/bmake/ChangeLog
+102-79 files not shown
+127-2415 files

FreeBSD/src 44ad87fcontrib/bmake cond.c bmake.1, contrib/bmake/unit-tests check-expect.lua char-005c-reverse-solidus.mk

Merge bmake-20250707

Merge commit '3d772e596c1acf76f555c1f51fd8d834e56b0c35'

(cherry picked from commit a8c56be47166295d37600ff81fc1857db87b3a9b)
DeltaFile
+117-118contrib/bmake/unit-tests/check-expect.lua
+131-0contrib/bmake/unit-tests/char-005c-reverse-solidus.mk
+47-42contrib/bmake/cond.c
+75-4contrib/bmake/bmake.1
+75-4contrib/bmake/make.1
+17-37contrib/bmake/main.c
+462-205142 files not shown
+1,308-822148 files

FreeBSD/src eb56091contrib/bmake job.c make.c, contrib/bmake/unit-tests check-expect.lua

Merge bmake-20250618

(cherry picked from commit 0b46a53a2f50b5ab0f4598104119a049b9c42cc9)
DeltaFile
+410-468contrib/bmake/job.c
+190-0contrib/bmake/unit-tests/check-expect.lua
+51-122contrib/bmake/make.c
+83-69contrib/bmake/main.c
+12-104contrib/bmake/job.h
+79-29contrib/bmake/var.c
+825-79286 files not shown
+1,879-1,18792 files

FreeBSD/src ba508f1contrib/bmake var.c parse.c, contrib/bmake/unit-tests varmod.mk varmod-undefined.mk

Merge bmake-20240625

Merge commit 'dbb5be7f07456d02ce444484c683b130439acb45'

(cherry picked from commit 8d5c8e21c690b35d0a9a604d6b886fba222cd2fe)
DeltaFile
+165-133contrib/bmake/var.c
+120-5contrib/bmake/unit-tests/varmod.mk
+40-27contrib/bmake/parse.c
+30-31contrib/bmake/main.c
+31-26contrib/bmake/compat.c
+48-3contrib/bmake/unit-tests/varmod-undefined.mk
+434-22565 files not shown
+1,028-58371 files

FreeBSD/src a9319c3contrib/bmake job.c bsd.after-import.mk, contrib/bmake/mk meta.stage.mk meta.autodep.mk

Merge bmake-20250308

(cherry picked from commit d9a65c5de1c9f30ae71ce0be8fb88be9d20d216d)
DeltaFile
+86-165contrib/bmake/job.c
+52-52usr.bin/bmake/Makefile
+28-11contrib/bmake/bsd.after-import.mk
+23-6contrib/bmake/mk/meta.stage.mk
+3-19contrib/bmake/main.c
+16-4contrib/bmake/mk/meta.autodep.mk
+208-25712 files not shown
+265-28018 files

FreeBSD/src 812d0cbcontrib/bmake var.c, contrib/bmake/mk rust.mk setopts.sh

Merge bmake-20250125

Merge commit '5ad769f660f3d00853bc739f82d9bc62f6a682cb'

(cherry picked from commit 6a7405f5a6b639682cacf01e35d561411ff556aa)
DeltaFile
+129-104contrib/bmake/unit-tests/moderrs.exp
+203-0contrib/bmake/mk/rust.mk
+175-0contrib/bmake/mk/setopts.sh
+101-74contrib/bmake/unit-tests/moderrs.mk
+61-88contrib/bmake/var.c
+146-0contrib/bmake/unit-tests/suff.exp
+815-266198 files not shown
+3,239-1,801204 files

FreeBSD/src fa86ef7contrib/bmake configure var.c, contrib/bmake/unit-tests varmod-edge.mk

Merge bmake-20240711

Merge commit '84691af93185c692058ba55fa81a04103f5bf71b'

(cherry picked from commit 226192822cddc30cacecd55bccb48f39c653058c)
DeltaFile
+764-578contrib/bmake/configure
+115-110contrib/bmake/unit-tests/varmod-edge.mk
+91-74contrib/bmake/var.c
+71-70usr.bin/bmake/config.h
+69-68contrib/bmake/config.h.in
+85-42contrib/bmake/main.c
+1,195-942191 files not shown
+2,573-2,033197 files

FreeBSD/src 72f01a7contrib/bmake bmake.cat1, contrib/bmake/mk suffixes.mk subdir.mk

Merge bmake-20240309

Merge commit '368b06ce6b0135d6de13f7265f6dcbaeb791b3bb'

(cherry picked from commit c59c3bf34db360695f07735bebc76a768cac5afc)
DeltaFile
+853-1,691contrib/bmake/bmake.cat1
+195-0contrib/bmake/mk/suffixes.mk
+3-179contrib/bmake/mk/sys/Generic.mk
+86-49contrib/bmake/mk/subdir.mk
+48-43contrib/bmake/mk/autodep.mk
+80-0contrib/bmake/mk/ChangeLog
+1,265-1,96292 files not shown
+1,947-2,39298 files

FreeBSD/src 5d3c3f7contrib/bmake dir.c ChangeLog

Merge bmake-20240520

Merge commit '29efb3dcaedd9cbabc6f96f35545baf2c8b28501'

(cherry picked from commit 9d3df31ec06fe91c5c67da464f11408474d57174)
DeltaFile
+43-8contrib/bmake/dir.c
+15-0contrib/bmake/ChangeLog
+2-4contrib/bmake/main.c
+3-3contrib/bmake/parse.c
+3-3contrib/bmake/getopt.c
+2-1contrib/bmake/dir.h
+68-193 files not shown
+71-229 files

FreeBSD/src 1d00ba4contrib/bmake var.c ChangeLog, contrib/bmake/mk dirdeps.mk ChangeLog

Merge bmake-20240508

Merge commit '3c2ab5fddc576e58f3ffa70dc5fa95144646a513'

(cherry picked from commit c9f4001f81c4d5778f70f77dc9892d1c4ecfdcdb)
DeltaFile
+7-10contrib/bmake/var.c
+8-0contrib/bmake/ChangeLog
+5-2contrib/bmake/mk/dirdeps.mk
+4-3contrib/bmake/job.c
+7-0contrib/bmake/mk/ChangeLog
+3-3contrib/bmake/unit-tests/varname-dot-makeoverrides.exp
+34-1811 files not shown
+51-3417 files

FreeBSD/src 1166b90contrib/bmake bmake.cat1 arch.c, contrib/bmake/unit-tests varmod-match.mk

Merge bmake-20240430

Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'

(cherry picked from commit 548bfc56eb0b2cefa0fb8dc2478240bfef610309)
DeltaFile
+1,712-853contrib/bmake/bmake.cat1
+67-183contrib/bmake/arch.c
+107-52contrib/bmake/var.c
+73-2contrib/bmake/ChangeLog
+31-23contrib/bmake/unit-tests/varmod-match.mk
+29-11contrib/bmake/configure
+2,019-1,124124 files not shown
+2,615-1,606130 files

FreeBSD/src 4b2e33econtrib/bmake var.c dir.c, contrib/bmake/unit-tests varmod-match.mk directive-include-guard.mk

Update to bmake-20240108

(cherry picked from commit d5e0a182cf153f8993a633b93d9220c99a89e760)
DeltaFile
+295-401contrib/bmake/var.c
+209-140contrib/bmake/unit-tests/varmod-match.mk
+99-231contrib/bmake/dir.c
+101-178contrib/bmake/parse.c
+136-52contrib/bmake/unit-tests/directive-include-guard.mk
+58-110contrib/bmake/suff.c
+898-1,112178 files not shown
+2,606-2,197184 files