FreeBSD/src c4df3e3lib/libproc Makefile, share/mk src.libnames.mk

libproc: link against libctf if MK_CTF != no instead of MK_CDDL != no

Logic prior to this change would incorrectly try linking when MK_CDDL != no,
instead of MK_CTF != no, which could result in the library and the tests being
broken if/when MK_CTF == no and MK_CDDL != no (an uncommon, but possible
combination with today's build knobs).

This change updates the conditional to correctly track the value of MK_CTF, which
in turn is properly toggled to no if/when MK_CDDL == no as it's a dependent build
knob.

This [niche] build bug has been present in FreeBSD since 2014.

MFC after:      1 week

(cherry picked from commit f2e6a8b9e50c7552037cb635f17b955ead84a813)
DeltaFile
+1-1share/mk/src.libnames.mk
+1-1lib/libproc/Makefile
+2-22 files

FreeBSD/src 7d87c1blib/libproc Makefile, share/mk src.libnames.mk

libproc: link against libctf if MK_CTF != no instead of MK_CDDL != no

Logic prior to this change would incorrectly try linking when MK_CDDL != no,
instead of MK_CTF != no, which could result in the library and the tests being
broken if/when MK_CTF == no and MK_CDDL != no (an uncommon, but possible
combination with today's build knobs).

This change updates the conditional to correctly track the value of MK_CTF, which
in turn is properly toggled to no if/when MK_CDDL == no as it's a dependent build
knob.

This [niche] build bug has been present in FreeBSD since 2014.

MFC after:      1 week

(cherry picked from commit f2e6a8b9e50c7552037cb635f17b955ead84a813)
DeltaFile
+1-1share/mk/src.libnames.mk
+1-1lib/libproc/Makefile
+2-22 files

FreeBSD/src 46c155blibexec/rc/rc.d dumpon

rc.d/dumpon: minor hardening/tightening up

- Scope local variables properly to each function.
- Quote variables that should be treated as single words.
- Replace `${cmd}; if [ $? -eq 0 ]` with `if ${cmd}` for simplicity.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57899

(cherry picked from commit fc186c24b1e72fa3eba91c166f7a554a5cea5828)
DeltaFile
+8-5libexec/rc/rc.d/dumpon
+8-51 files

FreeBSD/src b82d506libexec/rc/rc.d dumpon

rc.d/dumpon: minor hardening/tightening up

- Scope local variables properly to each function.
- Quote variables that should be treated as single words.
- Replace `${cmd}; if [ $? -eq 0 ]` with `if ${cmd}` for simplicity.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57899

(cherry picked from commit fc186c24b1e72fa3eba91c166f7a554a5cea5828)
DeltaFile
+9-5libexec/rc/rc.d/dumpon
+9-51 files

FreeBSD/ports e5d169esysutils/intel-nvmupdate-e830 pkg-message pkg-plist, sysutils/intel-nvmupdate-e830-e835 pkg-message pkg-plist

sysutils/intel-nvmupdate-e830: Move to e830-e835
DeltaFile
+0-44sysutils/intel-nvmupdate-e830/Makefile
+43-0sysutils/intel-nvmupdate-e830-e835/Makefile
+0-39sysutils/intel-nvmupdate-e830/pkg-plist
+39-0sysutils/intel-nvmupdate-e830-e835/pkg-plist
+0-29sysutils/intel-nvmupdate-e830/pkg-message
+29-0sysutils/intel-nvmupdate-e830-e835/pkg-message
+111-1128 files not shown
+124-12414 files

FreeBSD/src bb0300csys/compat/linuxkpi/common/src linux_firmware.c

linux_firmware: reformat error print-out

This makes it easier to grep for the error message to better understand
the call stack when loading firmware modules fails.

Fix a cosmetic-only style(9) bug while here in the same function related
to another logging message.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D58380

(cherry picked from commit a594783bac906ecc4f6528d7d576215f85a21bda)
DeltaFile
+4-3sys/compat/linuxkpi/common/src/linux_firmware.c
+4-31 files

FreeBSD/src 49a0bf4sys/compat/linuxkpi/common/src linux_firmware.c

linux_firmware: reformat error print-out

This makes it easier to grep for the error message to better understand
the call stack when loading firmware modules fails.

Fix a cosmetic-only style(9) bug while here in the same function related
to another logging message.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D58380

(cherry picked from commit a594783bac906ecc4f6528d7d576215f85a21bda)
DeltaFile
+4-3sys/compat/linuxkpi/common/src/linux_firmware.c
+4-31 files

FreeBSD/src 8c0ae18lib/libc/tests/stdlib/libatexit libatexit.cc

[test] libatexit: leverage __{BEGIN,END}_DECLS

This change converts the longhand form of `extern "C" {` and its
corresponding `}` into `__BEGIN_DECLS` and `__END_DECLS`, respectively.

The new form is much easier to grep for and is a best practice to use in
the FreeBSD tree.

This is meant to be a non-functional change.

MFC after:      1 week

(cherry picked from commit bc81728c00b200297ac556974b5373c804077a17)
DeltaFile
+7-4lib/libc/tests/stdlib/libatexit/libatexit.cc
+7-41 files

FreeBSD/src 10d1f60lib/libc/tests/stdlib/libatexit libatexit.cc

[test] libatexit: leverage __{BEGIN,END}_DECLS

This change converts the longhand form of `extern "C" {` and its
corresponding `}` into `__BEGIN_DECLS` and `__END_DECLS`, respectively.

The new form is much easier to grep for and is a best practice to use in
the FreeBSD tree.

This is meant to be a non-functional change.

MFC after:      1 week

(cherry picked from commit bc81728c00b200297ac556974b5373c804077a17)
DeltaFile
+7-4lib/libc/tests/stdlib/libatexit/libatexit.cc
+7-41 files

FreeBSD/src 59ee4abshare/man/man9 cpuset.9

cpuset(9): correct markup

- Remove `\(em` from .Nm section as it's not valid mandoc markup.
- Remove the section from the .Nm directive (it's handled under the .Dt
  directive).

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 5007a5d682d3737fe9b49c4cd69e04d025d209ec)
DeltaFile
+1-2share/man/man9/cpuset.9
+1-21 files

FreeBSD/src e892779share/man/man9 cpuset.9

cpuset(9): correct markup

- Remove `\(em` from .Nm section as it's not valid mandoc markup.
- Remove the section from the .Nm directive (it's handled under the .Dt
  directive).

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 5007a5d682d3737fe9b49c4cd69e04d025d209ec)
DeltaFile
+1-2share/man/man9/cpuset.9
+1-21 files

FreeBSD/src fb60889share/man/man9 DB_COMMAND.9

DB_COMMAND(9): correct mdoc markup for .Nm entries

Add missing commas after .Nm entries.

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit b96a063f61001e60ac282eb3500e703c7c3faf9c)
DeltaFile
+2-2share/man/man9/DB_COMMAND.9
+2-21 files

FreeBSD/src afdf887share/man/man9 DB_COMMAND.9

DB_COMMAND(9): correct mdoc markup for .Nm entries

Add missing commas after .Nm entries.

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit b96a063f61001e60ac282eb3500e703c7c3faf9c)
DeltaFile
+2-2share/man/man9/DB_COMMAND.9
+2-21 files

FreeBSD/ports 1dfdd3dtextproc/xray Makefile.crates Makefile

textproc/xray: Update to 0.5.0
DeltaFile
+5-3textproc/xray/distinfo
+1-1textproc/xray/Makefile
+1-0textproc/xray/Makefile.crates
+7-43 files

FreeBSD/ports 51d7549textproc/xql Makefile distinfo

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

FreeBSD/ports a7f1fb6textproc/xled Makefile distinfo

textproc/xled: Update to 0.12.2
DeltaFile
+3-3textproc/xled/distinfo
+1-1textproc/xled/Makefile
+4-42 files

FreeBSD/ports 565f8fbnet/croc Makefile distinfo

net/croc: Update to 11.4.0
DeltaFile
+5-5net/croc/distinfo
+1-2net/croc/Makefile
+6-72 files

FreeBSD/ports f1bd97bsysutils/intel-nvmupdate-i225-i226 pkg-plist Makefile, sysutils/intel-nvmupdate-i225-i226/files pkg-message.in source_manifest.txt

sysutils/intel-nvmupdate-i225-i226: New port

PR:             265714
DeltaFile
+102-0sysutils/intel-nvmupdate-i225-i226/files/nvmupdate.cfg
+80-0sysutils/intel-nvmupdate-i225-i226/files/README.FreeBSD
+76-0sysutils/intel-nvmupdate-i225-i226/Makefile
+52-0sysutils/intel-nvmupdate-i225-i226/files/source_manifest.txt
+45-0sysutils/intel-nvmupdate-i225-i226/files/pkg-message.in
+24-0sysutils/intel-nvmupdate-i225-i226/pkg-plist
+379-09 files not shown
+462-015 files

FreeBSD/ports a81d530sysutils/intel-nvmupdate-i210 pkg-descr distinfo, sysutils/intel-nvmupdate-i210/files nvmupdate-i210.in

sysutils/intel-nvmupdate-i210: Add new port
DeltaFile
+44-0sysutils/intel-nvmupdate-i210/Makefile
+30-0sysutils/intel-nvmupdate-i210/pkg-message
+13-0sysutils/intel-nvmupdate-i210/pkg-plist
+4-0sysutils/intel-nvmupdate-i210/files/nvmupdate-i210.in
+3-0sysutils/intel-nvmupdate-i210/pkg-descr
+3-0sysutils/intel-nvmupdate-i210/distinfo
+97-01 files not shown
+98-07 files

FreeBSD/ports e36527dmath/calc Makefile

math/calc: Fix packaging for @tiny flavor
DeltaFile
+1-1math/calc/Makefile
+1-11 files

FreeBSD/src a151a01contrib/netbsd-tests/lib/libc/c063 t_fchmodat.c t_mkfifoat.c

contrib/netbsd-tests: lib/libc/c063: sync with NetBSD

This change syncs the lib/libc/c063 NetBSD tests with FreeBSD. This does
two things:
- Addresses bogus tautologically true assertions flagged by clang and gcc
  with ATF 0.22+ [1].
- Brings in some new test coverage.

Obtained from:  NetBSD (date tag: `20260818UTC`)
MFC after:      2 weeks
1. https://github.com/freebsd/atf/pull/72

(cherry picked from commit 8109a5c0fba0d015354a69b40e6682d5e8c0f638)
DeltaFile
+89-59contrib/netbsd-tests/lib/libc/c063/t_utimensat.c
+69-4contrib/netbsd-tests/lib/libc/c063/t_faccessat.c
+29-2contrib/netbsd-tests/lib/libc/c063/t_mkfifoat.c
+11-6contrib/netbsd-tests/lib/libc/c063/t_fchmodat.c
+198-714 files

FreeBSD/src 7364167share/man/man9 alq.9

alq(9): add missing .Nm entry for ALQ(9)

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 4fa245edc7ad426ebde7a316191b579e62fe795f)
DeltaFile
+1-0share/man/man9/alq.9
+1-01 files

FreeBSD/src 0d7fc3ashare/man/man9 alq.9

alq(9): add missing .Nm entry for ALQ(9)

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 4fa245edc7ad426ebde7a316191b579e62fe795f)
DeltaFile
+1-0share/man/man9/alq.9
+1-01 files

FreeBSD/src b853bacshare/man/man9 acl.9

acl(9): fix typo (ACL_ACL -> ACL)

MFC after:      1 week

(cherry picked from commit 9fd963b0a149357b6fbc16ef0b999e6b487e513a)
DeltaFile
+1-1share/man/man9/acl.9
+1-11 files

FreeBSD/src 2ed7da9share/man/man9 acl.9

acl(9): fix typo (ACL_ACL -> ACL)

MFC after:      1 week

(cherry picked from commit 9fd963b0a149357b6fbc16ef0b999e6b487e513a)
DeltaFile
+1-1share/man/man9/acl.9
+1-11 files

FreeBSD/src 20b68f0share/man/man9 atomic.9

atomic(9): add missing .Nm entries

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 8eced03c369a6f8aad0013604f790bafd4526848)
DeltaFile
+3-0share/man/man9/atomic.9
+3-01 files

FreeBSD/src b7a2b3dshare/man/man9 atomic.9

atomic(9): add missing .Nm entries

MFC after:      1 week
Reported by:    make manlint

(cherry picked from commit 8eced03c369a6f8aad0013604f790bafd4526848)
DeltaFile
+3-0share/man/man9/atomic.9
+3-01 files

FreeBSD/src 5740717sys/arm64/arm64 pmap.c

arm64 pmap: correct the condition for flushing the icache

Whenever we create a user-space mapping, we always set ATTR_S1_PXN in
the PTE, which blocks execution of user-space code while running in
kernel mode.  However, when seeking to determine whether we need to
perform an icache flush before installing the new PTE, we test whether
sometimes the old PTE or other times the new PTE has ATTR_S1_XN set.
The trouble is that ATTR_S1_XN is defined as the bitwise OR of
ATTR_S1_PXN and ATTR_S1_UXN, and so the test for whether ATTR_S1_XN is
set is satisfied if either of its constituent bits is set, i.e., we
write (l3e & ATTR_S1_XN) != 0.  Consequently, the test is always true.

In practice, I believe that the ill effects of this bug are limited:
In pmap_enter(), in rare circumstances, e.g., wiring a code page, an
unnecessary icache flush will be performed.  In pmap_enter_l2() and
pmap_enter_l3c(), no icache flush will be performed.  However,
typically an icache flush would have already been performed on each of
the constituent base pages.


    [3 lines not shown]
DeltaFile
+4-4sys/arm64/arm64/pmap.c
+4-41 files

FreeBSD/ports 1870522www/glance Makefile distinfo

www/glance: Update to 0.8.6
DeltaFile
+5-5www/glance/distinfo
+2-3www/glance/Makefile
+7-82 files

FreeBSD/ports 18d62ccnet Makefile, net/nats-tui distinfo pkg-descr

net/nats-tui: New port: Terminal UI for the NATS nats tool
DeltaFile
+36-0net/nats-tui/Makefile
+11-0net/nats-tui/pkg-descr
+5-0net/nats-tui/distinfo
+1-0net/Makefile
+53-04 files