FreeBSD/src 2f6c77ccddl/usr.sbin/zfsd Makefile.common Makefile.depend

zfs: unbreak build after 89f729dcc merge

Link zfsd against spl and pthread
DeltaFile
+1-1cddl/usr.sbin/zfsd/Makefile.common
+1-0cddl/usr.sbin/zfsd/Makefile.depend
+2-12 files

FreeBSD/src de670c6sbin/reboot reboot.c nextboot.8

nextboot: Reimplement missing -a option

* Reimplement the -a option which was available in the original shell
  script and is still documented.

* Print the correct usage string when invoked as nextboot.

* Add the -D option to the manual page synopsis.

MFC after:      1 week
Fixes:          fd6d47375a78 ("rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh")
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54120
DeltaFile
+34-10sbin/reboot/reboot.c
+2-2sbin/reboot/nextboot.8
+36-122 files

FreeBSD/src e540e8blibexec/rc/rc.d noshutdown

noshutdown: Fix startup order

This rc script exists solely to create a file, so have it explicitly
require FILESYSTEMS.  In its current form, it was as likely as not to
end up running before cleanvar, which would undo its work.

MFC after:      3 days
Fixes:          384d976725a5 ("rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54119
DeltaFile
+1-1libexec/rc/rc.d/noshutdown
+1-11 files

FreeBSD/src 6ce227dlibexec/rc/rc.d FILESYSTEMS cleanvar

cleanvar: Fix startup order

Instead of having FILESYSTEMS require cleanvar, which doesn't really
make semantic sense, say that cleanvar needs to run before FILESYSTEMS.

MFC after:      3 days
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54118
DeltaFile
+1-1libexec/rc/rc.d/FILESYSTEMS
+1-0libexec/rc/rc.d/cleanvar
+2-12 files

FreeBSD/src f0ea859. ObsoleteFiles.inc, share/firmwares/iwm Makefile

iwmfw(4): fix spelling of the iwm8000C firmware.

When migrating the firmware to be installed as plain firmware files
to /boot/firmware the iwm8000C firmware lost its "fw" suffix that
iwm(4) expects.
The follow-up change to defaults/loader.conf is also consistently
missing the "fw".

Fix both places, and add the wrongly spelt version to ObsoleteFiles.inc
(entirely untested).

PR:             291403
Reported by:    Augustin Hoffmann (avgwst tutanota.de)
Fixes:          af0a81b6470aba4af4a24ae9804053722846ded4
Fixes:          a0f06dfb0d188966bee7265ec7d9f20093186bb6
MFC after:      3 days
DeltaFile
+3-0ObsoleteFiles.inc
+1-1stand/defaults/loader.conf
+1-1share/firmwares/iwm/Makefile
+5-23 files

FreeBSD/src 9b1cd02release/scripts pkg-stage.sh

release: Include comms/usbmuxd to DVD to ensure ipheth(4) works

PR:             291370
Reviewed by:    emaste, aokblast, dch
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54074

(cherry picked from commit 90eda629964cbe4c2472aa3f1b8a427e60e78834)
DeltaFile
+1-0release/scripts/pkg-stage.sh
+1-01 files

FreeBSD/src 58c80b2release/scripts pkg-stage.sh

release: Include comms/usbmuxd to DVD to ensure ipheth(4) works

PR:             291370
Reviewed by:    emaste, aokblast, dch
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54074

(cherry picked from commit 90eda629964cbe4c2472aa3f1b8a427e60e78834)
DeltaFile
+1-0release/scripts/pkg-stage.sh
+1-01 files

FreeBSD/src 8b78d41cddl/lib/libtpool Makefile Makefile.depend, cddl/lib/libtpool/tests libtpool_test.c

zfs: world changes after 89f729dcc merge

Remove, unbind and obsolete libuutil and libtpool
Update zfs_configh and zfs_gitrev.h
DeltaFile
+0-82cddl/lib/libtpool/tests/libtpool_test.c
+0-32cddl/lib/libtpool/Makefile
+0-26cddl/lib/libuutil/Makefile
+0-17cddl/lib/libuutil/Makefile.depend
+0-16cddl/lib/libtpool/Makefile.depend
+3-9share/mk/src.libnames.mk
+3-18227 files not shown
+24-23633 files

FreeBSD/src 66e8575sys/contrib/openzfs/cmd/zfs zfs_main.c, sys/contrib/openzfs/lib/libtpool thread_pool.c

zfs: merge openzfs/zfs at 89f729dcc

Notable upstream pull request merges:
 #17932 1f3444f2b zpool: fix special vdev -v -o conflict
 #17934 -multiple Remove libuutil
 #17941 88d012a1d Fix snapshot automount expiry cancellation deadlock
 #17942 36e4f1888 Fix taskq NULL pointer dereference on timer race
 #17946 39303feba chksum: run 256K benchmark on demand, preserve
                  chksum_stat_data
 #17948 -multiple Remove libtpool
 #17957 e37937f42 ztest: fix broken random call
 #17960 928eccc5b DDT: Reduce global DDT lock scope during writes
 #17961 48f33c1ef DDT: Make children writes inherit allocator
 #17975 7f7d4934c FreeBSD: Fix uninitialized variable error
 #17980 a5b665df3 DDT: Switch to using wmsums for lookup stats
 #18004 ffaea0831 FreeBSD: Remove HAVE_INLINE_FLSL use

Obtained from:  OpenZFS
OpenZFS commit: 89f729dcca87425aadfa03d1764e96f285eb658d
DeltaFile
+0-3,360sys/contrib/openzfs/lib/libuutil/libuutil.abi
+407-811sys/contrib/openzfs/lib/libzfs/libzfs.abi
+0-723sys/contrib/openzfs/lib/libuutil/uu_list.c
+0-612sys/contrib/openzfs/lib/libtpool/thread_pool.c
+0-569sys/contrib/openzfs/lib/libuutil/uu_avl.c
+126-256sys/contrib/openzfs/cmd/zfs/zfs_main.c
+533-6,33172 files not shown
+1,235-8,28278 files

FreeBSD/src 045e891sys/geom/zero g_zero.c

geom/zero: Add support for unmapped I/O

This patch adds support for unmapped I/O to gzero(4).

Let's consider the following script to illustrate the change in
gzero(4)'s behavior:

```
dd="dd if=/dev/gzero of=/dev/null bs=512 count=100000"
dtrace -q -c "$dd" -n '
    fbt::pmap_qenter:entry,
    fbt::uiomove_fromphys:entry,
    fbt::memset:entry
    /execname == "dd"/
    {
        @[probefunc] = count();
    }
'
```

    [34 lines not shown]
DeltaFile
+63-19sys/geom/zero/g_zero.c
+63-191 files

FreeBSD/src b966b10sys/geom/zero g_zero.c

geom/zero: Add support for unmapped I/O

This patch adds support for unmapped I/O to gzero(4).

Let's consider the following script to illustrate the change in
gzero(4)'s behavior:

```
dd="dd if=/dev/gzero of=/dev/null bs=512 count=100000"
dtrace -q -c "$dd" -n '
    fbt::pmap_qenter:entry,
    fbt::uiomove_fromphys:entry,
    fbt::memset:entry
    /execname == "dd"/
    {
        @[probefunc] = count();
    }
'
```

    [34 lines not shown]
DeltaFile
+63-19sys/geom/zero/g_zero.c
+63-191 files

FreeBSD/src f69bf8fcddl/contrib/opensolaris/cmd/dtrace dtrace.1, share/man/man4 dtrace_priv.4 Makefile

dtrace_priv.4: Document the DTrace priv provider

Fixes:  6efcc2f26ab0 Add static tracing for privilege checking
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53630

(cherry picked from commit 7bcd3a04c8695d797665289ed48ff2d84afb8ac4)
DeltaFile
+59-0share/man/man4/dtrace_priv.4
+2-1cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+2-1share/man/man9/priv.9
+1-0share/man/man4/Makefile
+64-24 files

FreeBSD/src 09af134cddl/contrib/opensolaris/cmd/dtrace dtrace.1, share/man/man4 dtrace_priv.4 Makefile

dtrace_priv.4: Document the DTrace priv provider

Fixes:  6efcc2f26ab0 Add static tracing for privilege checking
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53630

(cherry picked from commit 7bcd3a04c8695d797665289ed48ff2d84afb8ac4)
DeltaFile
+59-0share/man/man4/dtrace_priv.4
+2-1cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+2-1share/man/man9/priv.9
+1-0share/man/man4/Makefile
+64-24 files

FreeBSD/src a409ba2sbin/ipfw ipfw.8 ipv6.c, sbin/ping ping.8

ipsec: Fix typos in references to IPsec's ESP

ESP is "Encapsulating Security Payload",
not "Encapsulated Security Payload".

This patch fixes all the place in the tree I could find
with `grep -i encapsulated security`.

MFC after:      3 days
Reviewed by:    ae
Differential Revision:  https://reviews.freebsd.org/D53769

(cherry picked from commit 15afd75e67102f81c37adbf11966e48685bd7be7)
DeltaFile
+2-2sbin/ipfw/ipfw.8
+2-2sbin/ping/ping.8
+1-1sbin/ipfw/ipv6.c
+1-1sys/netipsec/esp.h
+6-64 files

FreeBSD/src 2f4d348sbin/ipfw ipfw.8 ipv6.c, sbin/ping ping.8

ipsec: Fix typos in references to IPsec's ESP

ESP is "Encapsulating Security Payload",
not "Encapsulated Security Payload".

This patch fixes all the place in the tree I could find
with `grep -i encapsulated security`.

MFC after:      3 days
Reviewed by:    ae
Differential Revision:  https://reviews.freebsd.org/D53769

(cherry picked from commit 15afd75e67102f81c37adbf11966e48685bd7be7)
DeltaFile
+2-2sbin/ipfw/ipfw.8
+2-2sbin/ping/ping.8
+1-1sys/netipsec/esp.h
+1-1sbin/ipfw/ipv6.c
+6-64 files

FreeBSD/src da44003third-party/siphash/include/siphash SipHash.h

Adjust vendor import of llvm-project main llvmorg-21-init-19288-gface93e724f4: add partial third-party/ top-level directory.
DeltaFile
+160-0third-party/siphash/include/siphash/SipHash.h
+160-01 files

FreeBSD/src c51876alib/libsysdecode Makefile

libsysdecode: Use consistent include path

mkioctls should look at the same set of headers as mktables does.

MFC after:      1 week
Fixes:          139d114acc7b ("libsysdecode use MKTABLES_INCLUDEDIR")
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    sjg
Differential Revision:  https://reviews.freebsd.org/D54106
DeltaFile
+1-1lib/libsysdecode/Makefile
+1-11 files

FreeBSD/src 3f709e4clang/include/clang/Parse Parser.h, clang/lib/CodeGen CGBuiltin.cpp

Vendor import of llvm-project main llvmorg-21-init-19288-gface93e724f4, the last commit before the upstream release/21.x branch was created.
DeltaFile
+30,222-0llvm/include/llvm/Testing/Demangle/DemangleTestCases.inc
+952-17,880clang/lib/CodeGen/CGBuiltin.cpp
+7,266-2,300clang/include/clang/Parse/Parser.h
+8,137-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+5,436-2,665llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+2,759-5,088llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+54,772-27,9338,189 files not shown
+516,543-374,4238,195 files

FreeBSD/src 3f10e59sys/kern subr_witness.c

ip6: Add explicit lock order information to catch LOR

Over the past several years, we have had sporadic reports of a lock
order reversal between the tcphash lock and the in6_ifaddr_lock.
These seems to be hard to reproduce reliably, and the WITNESS backtrace
points to code which uses the correct locking order.

This commit adds the correct lock order explicitly to help us detect
the call stack which uses the incorrect locking order.

PR:             289184
Reported by:    bz, gbe
Reviewed by:    bz, glebius
Differential Revision:  https://reviews.freebsd.org/D54088
DeltaFile
+6-0sys/kern/subr_witness.c
+6-01 files

FreeBSD/src 6f4debcsys/netinet tcp_syncache.c

tcp: fix build with RSS

PR:     291439
Fixes:  73fe85e486d297c9c976095854c1c84007e543f0
DeltaFile
+2-0sys/netinet/tcp_syncache.c
+2-01 files

FreeBSD/src a83191csys/net route.c

net: fix LINT-NOIP build

Fixes:  fd131b47f20dbeb515f5e3e6ea87948f2638eda9
DeltaFile
+3-5sys/net/route.c
+3-51 files

FreeBSD/src 643a606usr.sbin/sndctl sndctl.c

sndctl(8): Do not free and re-open device

There was a reason for this, but it does not apply anymore.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54031
DeltaFile
+1-8usr.sbin/sndctl/sndctl.c
+1-81 files

FreeBSD/src 26365bfsys/dev/sound/pci es137x.c, sys/dev/sound/pcm mixer.c mixer.h

sound: Retire snd_mixer->busy

Does not really serve any real purpose. It gets set on mixer_open() and
unset on mixer_close(), so it essentially tells us whether the mixer is
open or not.

mixer_close() uses it to return EBADF in case the mixer is not busied,
as in, the mixer has not been open()'d yet. This is redundant. The other
place where this is used is to decide whether to serve an ioctl issued
by userland, in which case it won't if, again, the mixer has not been
busied (i.e., opened). Again, seems redundant.

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

(cherry picked from commit e5d50a679aa1a72a7cbcb0281b9420aad4a7dc7a)
DeltaFile
+1-29sys/dev/sound/pcm/mixer.c
+0-4sys/dev/sound/pci/es137x.c
+0-2sys/dev/sound/pcm/mixer.h
+1-353 files

FreeBSD/src d20da5ctools/tools/locale Makefile

locale: Update Unicode to CLDR 48

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53983
DeltaFile
+1-1tools/tools/locale/Makefile
+1-11 files

FreeBSD/src 13ae490tools/tools/locale Makefile

locale: Update to UCD 17.0.0

Starting with Unicode 17.0.0, the zipped versions of the data files are
only published in https://www.unicode.org/Public/<version>/ucd/

https://www.unicode.org/Public/zipped/ReadMe.txt

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53982
DeltaFile
+2-2tools/tools/locale/Makefile
+2-21 files

FreeBSD/src 934364dtools/tools/locale/tools finalize

locale: tools: Make finalize idempotent

The finalize script renames source files with 3 components in their name
into names with two components with an @modifier, in the process.

Running the script for a second time without cleaning will strip the
@modifier from the files, producing invalid Makefiles and unusable
locales.

Prevent this by adding a guard at the beginning of the script.

Also, use a sub-shell for directory changes to avoid working directory
issues.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53981
DeltaFile
+58-53tools/tools/locale/tools/finalize
+58-531 files

FreeBSD/src 36cfa80share/colldef_unicode Makefile, share/monetdef_unicode Makefile

locale: make install

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53962
DeltaFile
+2-0share/colldef_unicode/Makefile
+1-0share/numericdef_unicode/Makefile
+1-0share/msgdef_unicode/Makefile
+1-0share/monetdef_unicode/Makefile
+5-04 files

FreeBSD/src 95f37aatools/tools/locale/tools cldr2def.pl

cldr2def.pl: Fix make install

Follow up on 86c71e97d19f ("pkgbase: locales: Also tag the files dir"),
and adapt cldr2def.pl script in order to fix make install.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53961
DeltaFile
+2-0tools/tools/locale/tools/cldr2def.pl
+2-01 files

FreeBSD/src 9df8243share/monetdef_unicode es_CR.UTF-8.src es_MX.UTF-8.src

locale: make posix

Run make posix to generate monetary definition files with the
international parameters missing from localeconv(3)'s lconv struct.

Manually convert the "frozen" non-unicode locales under share/monetdef.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53917
DeltaFile
+18-0share/monetdef_unicode/es_CR.UTF-8.src
+18-0share/monetdef_unicode/es_MX.UTF-8.src
+18-0share/monetdef_unicode/fa_AF.UTF-8.src
+18-0share/monetdef_unicode/fa_IR.UTF-8.src
+18-0share/monetdef_unicode/fr_CA.UTF-8.src
+18-0share/monetdef_unicode/fr_CH.UTF-8.src
+108-0107 files not shown
+2,034-0113 files

FreeBSD/src faf33e0tools/tools/locale/tools cldr2def.pl

cldr2def.pl: Add international currency parameters

Add the missing international monetary parameters present in the lconv
struct.

See also https://unicode-org.atlassian.net/browse/CLDR-237.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53915
DeltaFile
+27-15tools/tools/locale/tools/cldr2def.pl
+27-151 files