FreeBSD/src 74d3309sys/netinet tcp_syncache.c

tcp md5: improve consistency

All other usages of SCF_SIGNATURE are protected by IPSEC_SUPPORT
or TCP_SIGNATURE.
No functional change intended.

Reported by:    Hannes Elfert
MFC after:      1 week
MFC to:         stable/14
MFC to:         stable/15
DeltaFile
+2-0sys/netinet/tcp_syncache.c
+2-01 files

FreeBSD/src 2fb5343sys/netinet tcp_syncache.c

tcp md5: fix accounting of ACK with bad signatures

When processing the ACK of the initial TCP handshake using the
SYN cookie, don't increment the counter for unexpected
signatures (tcps_sig_err_sigopt). The correct
counter (tcps_sig_rcvbadsig) for bad signatures is already
incremented in TCPMD5_INPUT().

Reported by:            Hannes Elfert
Reviewed by:            rscheff
MFC after:              1 week
MFC to:                 stable/14
MFC to:                 stable/15
Differential Revision:  https://reviews.freebsd.org/D59302
DeltaFile
+0-1sys/netinet/tcp_syncache.c
+0-11 files

FreeBSD/src c004384share/man/man4 ix.4, sys/dev/ixgbe ixgbe.h if_ixv.c

ixgbe: Correct Wake-on-LAN configuration

Wake-on-LAN capability was inferred from NVM bits on every MAC even
though 82599 support is board and sometimes port specific.  Private
sysctls formed a second policy interface, and the driver neither
coordinated the controller wake source with PCI PME nor reliably
rebuilt address filters erased by the stop-time reset.

Use the standard ifconfig wake capabilities.  Derive support from the
82599 board and port matrix or the X540-and-newer NVM capability.
Require D3hot PME support, and use the NVM APME bit only to select the
initial magic-packet policy after initializing the LAN function number.

Snapshot requested filters before the terminal stop so shared reset and
PHY code sees the active wake policy.  After reset, restore RAR0, the
multicast table, receive filtering, and the optical laser before arming
WUFC, WUC, and PCI PME.  Remove device wake sources before clearing PCI
PME on detach, resume, and when wake is disabled.  Clear autonomous APM
so ifconfig remains authoritative.

    [18 lines not shown]
DeltaFile
+212-153sys/dev/ixgbe/if_ix.c
+19-1share/man/man4/ix.4
+1-6sys/dev/ixgbe/if_ixv.c
+2-3sys/dev/ixgbe/ixgbe.h
+234-1634 files

FreeBSD/src 5d3e31dsys/netinet tcp_syncache.c

tcp md5: fix accounting for SYN segments with unexpected signature

When receiving a SYN segment with an MD5 option on a listening socket,
which has not enabled TCP MD5 support, increment the counter for
unexpected signatures (tcps_sig_err_sigopt).

Reviewed by:            rscheff
MFC after:              1 week
MFC to:                 stable/14
MFC to:                 stable/15
Differential Revision:  https://reviews.freebsd.org/D59303
DeltaFile
+3-1sys/netinet/tcp_syncache.c
+3-11 files

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