FreeBSD/src 090fd9fusr.sbin/adduser rmuser.sh

rmuser.sh: Improve prompt consistency with adduser

While here, improve userlist error message.

PR:                     289399
MFC after:              3 days
Reviewed by:            kbowling, rgrimes
Approved by:            kbowling, rgrimes (src)
Reported by:            michaeldexter, rgrimes
Differential Revision:  https://reviews.freebsd.org/D52464

(cherry picked from commit fc68f8aac623b5494484adfa41ac600415609870)
DeltaFile
+3-3usr.sbin/adduser/rmuser.sh
+3-31 files

FreeBSD/src f763f12contrib/mandoc main.c man.options.1

mandoc: Vendor import of upstream at 2025-09-26

Interesting changes:
+ mandoc db: Improve case sorting, found by our very own markj
+ history: Add macros for version 8 and 10 AT&T Unix
+ linter: Warn on blank lines in man(7) like mdoc(7)
+ manuals: Improve precision, man(7) syntax table, and roff(7) specifics
+ manuals: Fix PDF/PS footer regression detailed in our PR: 289786

PR:             289786
MFC after:      3 days

(cherry picked from commit 59fc2b0166f71c791113379d16b8cef7039f289d)
DeltaFile
+10-42contrib/mandoc/main.c
+31-4contrib/mandoc/man.options.1
+23-12contrib/mandoc/mdoc.7
+9-7contrib/mandoc/mandoc.1
+4-3contrib/mandoc/dba.c
+3-3contrib/mandoc/term_ps.c
+80-713 files not shown
+84-749 files

FreeBSD/src 0d066d2contrib/mandoc roff_term.c

mandoc: Improve width calculation for GCC compat

Avoid implicitly converting a potentially negative page offset
to size_t and then back to int.  While this was not a bug and the end
result was portably correct, Alexander Ziaee@ privately reported to me
that the GCC 14 in the FreeBSD Jenkins CI felt uneasy about it.

For clarity and readability, rewrite the truncation statement
to not mix signed and unsigned types, to not use explicit casts,
and make handling of the lower and upper cutoff more similar
to each other.

Fixes:  6410c1b51637 (mandoc: vendor import of upstream at 2025-07-27)
MFC after:              3 days
Reported by:            ivy
Reviewed by:            ivy
Differential Revision:  https://reviews.freebsd.org/D52127

(cherry picked from commit 93bc3d83a11a1dbebd264616d63af3dd32cc1c8c)
DeltaFile
+3-2contrib/mandoc/roff_term.c
+3-21 files

LLVM/project eb9e98fllvm/lib/Target/X86 X86CleanupLocalDynamicTLS.cpp X86InstrInfo.cpp

[NewPM] Port x86-cleanup-local-dynamic-tls (#179864)

Port x86-cleanup-local-dynamic-tls to the new pass manager.
I moved LDTLSCleanup to a new
llvm/lib/Target/X86/X86CleanupLocalDynamicTLS.cpp file and renamed it to
X86CleanupLocalDynamicTLSPass. Then I renamed the legacy pass, and
adding a NewPM wrapper around the impl.

No test coverage added for now as there are no MIR->MIR tests exercising
this pass and we do not have enough ported to run any end to end tests.
DeltaFile
+165-0llvm/lib/Target/X86/X86CleanupLocalDynamicTLS.cpp
+0-113llvm/lib/Target/X86/X86InstrInfo.cpp
+9-1llvm/lib/Target/X86/X86.h
+1-2llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+1-1llvm/lib/Target/X86/X86PassRegistry.def
+1-1llvm/lib/Target/X86/X86TargetMachine.cpp
+177-1182 files not shown
+179-1188 files

FreeBSD/src a1f4ccdcontrib/mandoc tbl_term.c catman.8

mandoc: Vendor import of upstream at 2025-07-27

Groff Compat Edition -- Interesting changes:
+ italics in section/subsection headers are now also bold, like groff
+ display "LOCAL" in response to invalid section numbers, like groff
+ tbl(7) rendering has been tweaked to be more like groff
+ scaling has been improved to better render poorly generated manuals
+ display "UNTITLED" in response to invalid man(7) titles, like groff
+ improve mandocd error handling of broken pipes
+ manual footers now always show NAME(SECTION) on the right, like groff

MFC after:      3 days

(cherry picked from commit 06410c1b51637e5e1f392d553b5008948af58014)
DeltaFile
+165-122contrib/mandoc/tbl_term.c
+216-28contrib/mandoc/catman.8
+205-26contrib/mandoc/catman.c
+108-93contrib/mandoc/term.c
+148-47contrib/mandoc/roff.7
+89-62contrib/mandoc/man.7
+931-37827 files not shown
+1,368-75733 files

FreeBSD/src a8ac0e6share/man/man4 mmcsd.4

mmcsd.4: s/DESCRIPTION/HARDWARE + HISTORY + SPDX

This manual only describes a tiny amount suitable for the HW Relnotes.
Remove the description section and replace it with a hardware section
which will appear there.

MFC after:      3 minutes
Reported by:    ivy
History Ref:    5bcb64f20afff21be511cc5 (Add mmc and mmcsd)

(cherry picked from commit 0c1c81c479bef8d3e67f93ea00fc5d34ccf5af33)
DeltaFile
+9-2share/man/man4/mmcsd.4
+9-21 files

FreeBSD/src 0dec63dusr.sbin/bsdinstall bsdinstall.8

bsdinstall.8: Minor maintenance

Replace CD-ROMs with "discs, USBs, or network boot environments"
to both modernize aesthetic and also nudge youths to think at scale.
Since I'm disrupting the flow of these lines anyway, expand the VM
acronym because I think this is one of the first manuals people will
be looking at.

Reset list alignment to seven characters. It was at 19 characters,
and that was not enough to align them all, wasting many extra lines
by crunching all the words over. Seven actually bought us some lines
from six due to avg item size. Tag SPDX.

MFC after:      3 days
Discussed with: ivy, zi

(cherry picked from commit 81d9e08a4df42079d5e163b5991d5d6f3a28d4f0)
DeltaFile
+11-8usr.sbin/bsdinstall/bsdinstall.8
+11-81 files

FreeBSD/src 875445ashare/man/man4 aacraid.4

aacraid.4: Improve HARDWARE introductory sentance

To improve HW relnotes

MFC after:      3 days

(cherry picked from commit 20a8d06034791c8bb2cc733e4fe4fa1bc60273ec)
DeltaFile
+3-2share/man/man4/aacraid.4
+3-21 files

FreeBSD/src d01001fshare/man/man4 aacraid.4

aacraid.4: Fix document description + tag SPDX

The document description previously just stated the name of the driver.
Replace this with the name of the controller families and specs that
it supports, in a similar fashion to other RAID drivers.

MFC after:      3 days

(cherry picked from commit d5d1e05efbedf67f1ef8e8428f9107401e369a0b)
DeltaFile
+5-2share/man/man4/aacraid.4
+5-21 files

FreeBSD/src f1fe712share/man/man4 umass.4

umass(4): Update to include pointers to quirks

umass(4), while much improved, still sometimes need quirks. Add a
pointer to usb_quirk(4) and usbconfig(8).

Sponsored by:           Netflix

(cherry picked from commit 687ab0dc54a926092548310d71afdbe386150838)
DeltaFile
+23-2share/man/man4/umass.4
+23-21 files

LLVM/project 1f26c39flang/include/flang/Optimizer/Dialect FIROps.td, flang/lib/Optimizer/Dialect FIROps.cpp

[flang] Allow fir.field_index and fir.coordinate_of speculation. (#179785)

This change makes `fir.field_index` a Pure operation, and
add support of `ConditionallySpeculatable` interface for
`fir.coordinate_of`. The test demonstrates how this affects
Flang LICM.
DeltaFile
+48-0flang/test/Transforms/licm.fir
+9-0flang/lib/Optimizer/Dialect/FIROps.cpp
+5-2flang/include/flang/Optimizer/Dialect/FIROps.td
+62-23 files

FreeBSD/src 3cdb401share/man/man4 umass.4

umass.4: Modernize driver loading instructions

+ consolidate kernel configuration in SYNOPSIS
+ explain driver autoloading in DESCRIPTION
+ s/port/interface/ because of internal USBs
+ fix flow of remaining example

MFC after:      1 day

(cherry picked from commit d8a4843cb76ec1b7da8d5defafb7eef9a6cc1c21)
DeltaFile
+23-33share/man/man4/umass.4
+23-331 files

LLVM/project 3bbb997flang/lib/Optimizer/Analysis AliasAnalysis.cpp, flang/test/Analysis/AliasAnalysis alias-analysis-cray-pointers.fir ptr-component.fir

[flang] Disambiguate descriptor and data addresses in FIR AA. (#179774)

This change basically treats the descriptors' and data loads
as non-aliasing (with one exception) same way as we do it
for the purpose of the TBAA tags generation for LLVM
to do better optimizations. This change enables more LICM in Flang MLIR.
DeltaFile
+155-19flang/test/Analysis/AliasAnalysis/alias-analysis-cray-pointers.fir
+32-0flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
+15-12flang/test/Analysis/AliasAnalysis/ptr-component.fir
+2-4flang/test/Analysis/AliasAnalysis/load-ptr-designate.fir
+204-354 files

FreeBSD/src 8094ef1share/man/man4 umass.4

umass.4: Remove some extra lines which snuck in

Fixes:          70993c2fbe1ac (umass.4: Add HISTORY, HARDWARE, and SPDX)
MFC with:       70993c2fbe1ac (umass.4: Add HISTORY, HARDWARE, and SPDX)

(cherry picked from commit 34a2b5b09afe2a2fa3672f448d522b4665db9272)
DeltaFile
+0-3share/man/man4/umass.4
+0-31 files

FreeBSD/src 220d2e5share/man/man4 umass.4

umass.4: Add HISTORY, HARDWARE, and SPDX

While here, break a long line that agitates the linter.

Fixes:          cc16f1b9d9261f18 (Add umass.c)
MFC after:      1 hour
Discussed with: imp, ivy

diff --git a/sys/dev/usb/FILES b/sys/dev/usb/FILES

(cherry picked from commit 70993c2fbe1acb68f45bea5fc5fa086650876e23)
DeltaFile
+27-3share/man/man4/umass.4
+27-31 files

FreeBSD/src 5f61442stand/lua cli.lua.8

cli.lua.8: Reflow literal comments

Reflow comments in literal text blocks
so this manual is legible at MANWIDTH 78.

MFC after:      1 day

(cherry picked from commit de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74)
DeltaFile
+10-8stand/lua/cli.lua.8
+10-81 files

LLVM/project 1ef499bllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.struct.buffer.store.format.f16.ll llvm.amdgcn.raw.tbuffer.store.f16.ll

AMDGPU/GlobalISel: Fix buffer store RegBankLegalize rules (#179994)

Enable commented out D16 v3f16 tests.
DeltaFile
+63-5llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.store.format.f16.ll
+57-5llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.f16.ll
+44-5llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.ptr.buffer.store.format.f16.ll
+40-5llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.ptr.tbuffer.store.f16.ll
+2-7llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+206-275 files

FreeBSD/src d31dc79lib/geom/shsec gshsec.8

gshsec.8: Fix list alignment, tag spdx

MFC after:      3 days

(cherry picked from commit 05d48584607221922539bb6917c9c118236d78d5)
DeltaFile
+5-2lib/geom/shsec/gshsec.8
+5-21 files

FreeBSD/src e714779sbin/ifconfig ifconfig.8

ifconfig.8: Mention max name length

PR:             289113
MFC after:      3 days

(cherry picked from commit 832cd05905980d0f6547bf02745b054c1f4af1eb)
DeltaFile
+3-0sbin/ifconfig/ifconfig.8
+3-01 files

FreeBSD/src 6b1ae32usr.bin/cut cut.1

cut.1: Align option list and tag spdx

MFC after:      3 days

(cherry picked from commit 16f37d97b9500a4fe2d0719161025515d477a5cd)
DeltaFile
+4-1usr.bin/cut/cut.1
+4-11 files

FreeBSD/src ac567c2share/man/man4 sbp.4

sbp.4: Add a hardware section, fix markup nits

+ tag SPDX
+ add sysctl to apropos database
+ fix markup of examples and reflow a overly long line
+ add a hardware section for hw relnotes

MFC after:      3 days

(cherry picked from commit dee8e38f52266d9b2fa837607ff3a78f240a806d)
DeltaFile
+17-6share/man/man4/sbp.4
+17-61 files

FreeBSD/src 7cc574cshare/man/man4 mx25l.4

mx25l.4: Add n25q64 to hardware list

MFC after:      3 days
Fixes:          76735c74398923a (flash: Add "n25q64" to mx25l driver)

(cherry picked from commit 595fcd71a89e8c2d9039528d58b073f5ca712b68)
DeltaFile
+2-0share/man/man4/mx25l.4
+2-01 files

FreeBSD/src 36a902cshare/man/man4 mx25l.4

mx25l.4: Describe better and tag spdx

MFC after:      3 days

(cherry picked from commit 6f73950475ce6b56974b7cd08cdf0ea771165c50)
DeltaFile
+8-14share/man/man4/mx25l.4
+8-141 files

LLVM/project 6299a53openmp/runtime CMakeLists.txt

Revert "openmp: add atomic to SANITIZER_COMMON_LINK_LIBS for MIPS (#179933)"

This reverts commit 74e9bc6cb93964edfcb3761623a43d1e55aceb2a.
DeltaFile
+0-4openmp/runtime/CMakeLists.txt
+0-41 files

FreeBSD/src 7812565stand/man loader.8

loader.8: Document module commands

Begin documenting module loader commands in loader(8), where the reader
would look for them. Segregate them by their availability in individual
loader implementations, like build(7) targets.
These details were graciously donated by kevans.

MFC after:              3 days
Reviewed by:            kevans
Co-authored-by:         Kyle Evans <kevans at freebsd.org>
Differential Revision:  https://reviews.freebsd.org/D50727

(cherry picked from commit 6fb0d67819f730e8def56e139f780eff3c0cab0f)
DeltaFile
+47-1stand/man/loader.8
+47-11 files

LLVM/project 74e9bc6openmp/runtime CMakeLists.txt

openmp: add atomic to SANITIZER_COMMON_LINK_LIBS for MIPS (#179933)

atomic is needed explicitly for MIPS.
DeltaFile
+4-0openmp/runtime/CMakeLists.txt
+4-01 files

FreeBSD/src 9f0e2b6stand/defaults loader.conf.5, stand/man loader_simp.8

loader manuals: Clarify console and boot_serial

console=comconsole is for the loader and boot_serial is for the kernel.

I think we should centralize documentation on the loader settings in one
manual, such a loader.8. The current proliferation is not obvious where
to find the documentation. To the user, these are all set in loader.conf
or at the loader prompt.

MFC after:              3 days
Differential Revision:  https://reviews.freebsd.org/D53695

(cherry picked from commit 09ffaa4e07d749c83cc1db13829505f21b025f29)
DeltaFile
+2-2stand/man/loader_simp.8
+3-0stand/defaults/loader.conf.5
+5-22 files

FreeBSD/src 89f9f9dshare/man/man4 cdce.4

cdce.4: Minor polish

+ Tag spdx license identifier   + Fix "e.g.,"s to quiet linter
+ Remove useless Nd quoting     + Put example in EXAMPLES

MFC after:      3 days

(cherry picked from commit 03752041e41b57af622f3649929789575a48258e)
DeltaFile
+20-15share/man/man4/cdce.4
+20-151 files

FreeBSD/src 11a0cf3lib/librt mq_getfd_np.3 Makefile

librt/mq_getfd_np.3: Initial manual page

The mq_getfd_np function appeared in FreeBSD 11 with no documentation.
This function dereferences the mqd_t as a pointer to an int.

Relnotes:               yes
MFC after:              3 days
Reviewed by:            kib (previous), markj, ziaee
Differential Revision:  https://reviews.freebsd.org/D43947

(cherry picked from commit ca2413d216197fd55f9363d6f65c641ff1aa3ec5)
DeltaFile
+57-0lib/librt/mq_getfd_np.3
+2-0lib/librt/Makefile
+59-02 files

FreeBSD/src 0b90b2fshare/man/man7 security.7

security.7: Fix typo (triple S)

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/955

(cherry picked from commit 2d3d29c29c123803278978a1b9dfc62be39339e1)
DeltaFile
+1-1share/man/man7/security.7
+1-11 files