FreeBSD/src 18270a7contrib/spleen spleen-32x64.bdf spleen-16x32.bdf

contrib/spleen: Update to Spleen 2.1.0

Merge commit 'e364562a4012d6d9cb334795b97e929cfa2a5dff'
DeltaFile
+5,487-2,363contrib/spleen/spleen-32x64.bdf
+3,009-1,293contrib/spleen/spleen-16x32.bdf
+1,754-742contrib/spleen/spleen-8x16.bdf
+2,362-6contrib/spleen/spleen-12x24.bdf
+1,450-6contrib/spleen/spleen-6x12.bdf
+41-28contrib/spleen/README.md
+14,103-4,4383 files not shown
+14,139-4,4439 files

FreeBSD/src e364562. spleen-32x64.bdf spleen-16x32.bdf

Vendor import of Spleen font 2.1.0
DeltaFile
+5,487-2,363spleen-32x64.bdf
+3,009-1,293spleen-16x32.bdf
+1,754-742spleen-8x16.bdf
+2,362-6spleen-12x24.bdf
+1,450-6spleen-6x12.bdf
+41-28README.md
+14,103-4,4383 files not shown
+14,139-4,4439 files

FreeBSD/src eaede4e. .git-blame-ignore-revs

git-blame-ignore-revs: list rtld-elf reformatting

Sponsored by:   The FreeBSD Foundation
DeltaFile
+5-0.git-blame-ignore-revs
+5-01 files

FreeBSD/src 78b5dadlibexec/rtld-elf/i386 reloc.c

rtld-elf/i386/reloc.c: apply clang-format

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+176-171libexec/rtld-elf/i386/reloc.c
+176-1711 files

FreeBSD/src 3a85aa6libexec/rtld-elf/amd64 reloc.c

rtld-elf/amd64/reloc.c: apply clang-format

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+170-157libexec/rtld-elf/amd64/reloc.c
+170-1571 files

FreeBSD/src e3035c5libexec/rtld-elf/amd64 reloc.c, libexec/rtld-elf/i386 reloc.c

rtld-elf/{amd64,i386}/reloc.c: remove unneeded #ifdef dbg

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+0-2libexec/rtld-elf/amd64/reloc.c
+0-2libexec/rtld-elf/i386/reloc.c
+0-42 files

FreeBSD/src 986c96blibexec/rtld-elf map_object.c

rtld-elf/map_object.c: apply clang-format

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+326-301libexec/rtld-elf/map_object.c
+326-3011 files

FreeBSD/src bf3fbf7libexec/rtld-elf rtld.c

rtld obj_remap_relro(): unindent the loop body

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+10-12libexec/rtld-elf/rtld.c
+10-121 files

FreeBSD/src 7e2f383libexec/rtld-elf rtld.c

rtld-elf/rtld.c: apply clang-format

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+2,847-2,775libexec/rtld-elf/rtld.c
+2,847-2,7751 files

FreeBSD/src dd1d729libexec/rtld-elf rtld.c

rtld-elf/rtld.c: fix typo in comment

Discussed with: emaste, imp
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D48509
DeltaFile
+1-1libexec/rtld-elf/rtld.c
+1-11 files

FreeBSD/src 2c0e00dbin/kill kill.1

kill.1: mention special PID 0

PR:      284158

(cherry picked from commit f5cf173de0dc62dbf47a8bbdcae28aac947d90a6)
DeltaFile
+3-0bin/kill/kill.1
+3-01 files

FreeBSD/src fe74df3bin/kill kill.1

kill.1: mention special meaning of PGID as a PID

PR:      284158

(cherry picked from commit d6c2d4fe975c70975bdc6bec76d044408f6dcb8c)
DeltaFile
+3-0bin/kill/kill.1
+3-01 files

FreeBSD/src d6a896clib/libthr/thread thr_mutex.c

pthread_mutex_trylock(): init libthr if needed

(cherry picked from commit 9718f18471f700b271eb898c764e02b7fcd3766f)
DeltaFile
+1-0lib/libthr/thread/thr_mutex.c
+1-01 files

FreeBSD/src 1a085eelib/libthr/thread thr_create.c

pthread_create(): style

(cherry picked from commit 02703de8bcae3b45e6d96e8467d5fa512d62cc3d)
DeltaFile
+3-3lib/libthr/thread/thr_create.c
+3-31 files

FreeBSD/src e226851lib/libthr/thread thr_init.c

libpthread_init(): ensure curthread == NULL until set explicitly

(cherry picked from commit 676be27133fa3296f3d9083732d8837a3eaa5ea4)
DeltaFile
+2-0lib/libthr/thread/thr_init.c
+2-01 files

FreeBSD/src 0961e16lib/libthr/thread thr_list.c

libthr: use atomic_add_int() instead of atomic_fetchadd_int()

(cherry picked from commit 4804cb433dbec2555695dc2bf391f286f2172621)
DeltaFile
+5-5lib/libthr/thread/thr_list.c
+5-51 files

FreeBSD/src 2050430lib/libthr/thread thr_list.c thr_sleepq.c

libthr: switch thread and sleepq memory allocator to crt from libc malloc

(cherry picked from commit 9a2ae72421cd75c741984f63b8c9ee89346a188d)
DeltaFile
+2-2lib/libthr/thread/thr_list.c
+2-2lib/libthr/thread/thr_sleepq.c
+4-42 files

FreeBSD/src 0f1bf1csbin/umbctl umbctl.c umbctl.8, share/man/man4 umb.4

umb: Introduce the USB umb(4) network driver

This includes the port of a driver originally from OpenBSD, later
ported to NetBSD by the author:

* The umb(4) kernel driver
* The umbctl(8) companion tool

This driver supports USB network devices implementing the
Mobile Broadband Interface Model (MBIM), often found in modern
(internal) USB models for 4G/LTE mobile broadband access.

It is currently limited to IPv4.

umbctl has to be used to display or set MBIM cellular modem
interface parameters (4G/LTE).

Differential Revision:  https://reviews.freebsd.org/D48167
Approved by:    adrian, zlei

    [3 lines not shown]
DeltaFile
+2,930-0sys/dev/usb/net/if_umb.c
+727-0sys/dev/usb/net/mbim.h
+557-0sbin/umbctl/umbctl.c
+443-0sys/dev/usb/net/if_umbreg.h
+161-0sbin/umbctl/umbctl.8
+119-0share/man/man4/umb.4
+4,937-06 files not shown
+4,982-112 files

FreeBSD/src e5f3620sys/sys sockio.h

sys: add MBM device ioctl() values

This is part of the upcoming USB umb(4) work.  It implements the control
ioctl(4)s that MBM devices will need to implement.

Differential Revision:  https://reviews.freebsd.org/D48167
Approved by:    adrian, zlei
Sponsored by:   FreeBSD Foundation
PR:             kern/263783
Submitted by:   Pierre Pronchery <khorben at defora.org>
DeltaFile
+4-0sys/sys/sockio.h
+4-01 files

FreeBSD/src 86bfbafsys/net if_types.h

sys: add MBIM (mobile broadband interface module) interface type.

This is part of the upcoming USB umb(4) work.

Differential Revision:  https://reviews.freebsd.org/D48167
Approved by:    adrian, zlei
Sponsored by:   FreeBSD Foundation
PR:             kern/263783
Submitted by:   Pierre Pronchery <khorben at defora.org>
DeltaFile
+1-0sys/net/if_types.h
+1-01 files

FreeBSD/src 1486bb0lib/libc/tests/nss getgr_test.c getpw_test.c

Fix lib/libc/nss/getgr_test with large numbers of groups

These tests create a linked list with one entry for every group on the
running system.  On a system with about 30,000 groups, the test took 69
seconds to run, and crashed Kyua with the below error:

kyua: E: string or blob too big (sqlite op: sqlite3_bind_blob) (sqlite db: /root/.kyua/store/results.usr_tests.20241231-203317-570235.db).

Fix the test by limiting it to operating on the first 1024 groups.
Apply the same change to getpw_test and getserv_test too, which are
vulnerable to the same problem.

Sponsored by:   ConnectWise
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D48275

(cherry picked from commit d11904b350214943dedb64c7121d4602799d7afd)
DeltaFile
+4-0lib/libc/tests/nss/getgr_test.c
+4-0lib/libc/tests/nss/getpw_test.c
+4-0lib/libc/tests/nss/getserv_test.c
+12-03 files

FreeBSD/src e8a2720sys/fs/fuse fuse_vfsops.c, tests/sys/fs/fusefs nfs.cc

fusefs: fix a memory leak

Fix a leak of a fuse_ticket structure.  The leak mostly affected
NFS-exported fuse file systems, and was triggered by a failure during
FUSE_LOOKUP.

Sponsored by:   ConnectWise

(cherry picked from commit 969d1aa4dbfcbccd8de965f7761203208bf04e46)
DeltaFile
+30-0tests/sys/fs/fusefs/nfs.cc
+1-1sys/fs/fuse/fuse_vfsops.c
+31-12 files

FreeBSD/src 039609bsys/fs/fuse fuse_vnops.c fuse_file.c, tests/sys/fs/fusefs open.cc opendir.cc

fusefs: ignore FUSE_NO_OPEN(DIR)_SUPPORT flags

The FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT flags
are only meant to indicate kernel features, and should be ignored
if they appear in the FUSE_INIT reply flags.

Also fix the corresponding test cases.

Reviewed by:    Alan Somers <asomers at FreeBSD.org>
Signed-off-by:  CismonX <admin at cismon.net>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1509

(cherry picked from commit f0f596bd955e5b48c55db502e79fc652ac8970d3)
DeltaFile
+2-36tests/sys/fs/fusefs/open.cc
+2-25tests/sys/fs/fusefs/opendir.cc
+8-9sys/fs/fuse/fuse_vnops.c
+3-6sys/fs/fuse/fuse_file.c
+0-4sys/fs/fuse/fuse_internal.c
+0-2sys/fs/fuse/fuse_ipc.h
+15-826 files

FreeBSD/src 4ded81dshare/man/man9 namei.9

namei: add more detail about LOCKSHARED's behavior

[skip ci]

Sponsored by:   ConnectWise
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D48125

(cherry picked from commit 22bb70a6b3bb7799276ab480e40665b7d6e4ce25)
DeltaFile
+15-4share/man/man9/namei.9
+15-41 files

FreeBSD/src 2b4a459sys/fs/fuse fuse_device.c

fusefs: FUSE_NOTIFY_INVAL_* must busy the mountpoint

Unusually, the FUSE_NOTIFY_INVAL_INODE and FUSE_NOTIFY_INVAL_ENTRY
messages are fully asynchronous.  The server sends them to the kernel
unsolicited.  That means that unlike every other fuse message coming
from the server, these two arrive to a potentially unbusied mountpoint.
So they must explicitly busy it.  Otherwise a page fault could result if
the mountpoint were being unmounted.

Reported by:    JSML4ThWwBID69YC at protonmail.com

(cherry picked from commit 989998529387b4d98dfaa6c499ad88b006f78de8)
DeltaFile
+8-1sys/fs/fuse/fuse_device.c
+8-11 files

FreeBSD/src 1bcf849share/man/man4 ktls.4

ktls.4: note that security/gnutls now supports ktls

[skip ci]

PR:             278083
Sponsored by:   ConnectWise
Reviewed by:    diizzy
Differential Revision: https://reviews.freebsd.org/D47310

(cherry picked from commit 7200d90644ba61d63e6fec33855bba5d3b7eb7bd)

ktls.4: note that there are multiple openssl ports with KTLS knobs

[skip ci]

Reported by:    "Herbert J. Skuhra" <herbert at gojira.at>
Sponsored by:   ConnectWise

(cherry picked from commit 1e4da42a36d5cf44bacf0e261626b69a4761f0cc)
DeltaFile
+5-3share/man/man4/ktls.4
+5-31 files

FreeBSD/src 06b782asys/fs/tmpfs tmpfs_vnops.c

tmpfs: remove duplicate flags check in tmpfs_rmdir

Reviewed By:    asomers
Differential Revision: https://reviews.freebsd.org/D47100

(cherry picked from commit ec22e705c266ff629cc5ec47b84f67ba02b7b924)
DeltaFile
+1-7sys/fs/tmpfs/tmpfs_vnops.c
+1-71 files

FreeBSD/src e758e55sys/fs/nfs nfs_commonsubs.c

nfscl: fix uninitialized memory in nfsv4_loadattr

When processing an RPC response that did not include any Owner
attribute, nfsv4_loadattr would return na_uid and na_gid uninitialized.
The uninitialized values could then make their way into the NFS
attribute cache via nfscl_loadattrcache.

PR:             281279
Reported by:    KMSAN
Reviewed by:    rmacklem
Sponsored by:   Axcient

(cherry picked from commit 44328abfb7aca8150b07b83ff502c9185677e3fb)
DeltaFile
+1-0sys/fs/nfs/nfs_commonsubs.c
+1-01 files

FreeBSD/src 99d5ee8sys/kern kern_ktrace.c

ktrace: Fix uninitialized memory disclosure

The sockaddr passed to ktrcapfail() may be smaller than
sizeof(struct sockaddr), and the trailing bytes in the sockaddr
structure will be uninitialized, whereupon they get copied out to
userspace.

PR:             283673
Reviewed by:    jfree, emaste
Reported by:    Yichen Chai <yichen.chai at gmail.com>
Reported by:    Zhuo Ying Jiang Li <zyj20 at cl.cam.ac.uk>
Fixes:          9bec84131215 ("ktrace: Record detailed ECAPMODE violations")
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D48499

(cherry picked from commit 5b86888bae651e54ccc0adde0ed897ec1c1e0d45)
DeltaFile
+9-2sys/kern/kern_ktrace.c
+9-21 files

FreeBSD/src 709c189sys/fs/nfs nfs_commonsubs.c nfsproto.h

nfsd: Add support for the NFSv4.2 change_attr_type attribute

Richard Kojedzinszky reported an intermittent problem where
the Linux NFSv4.2 client would sometimes not see changes done
to a directory by another client, although the change attribute
for the directory had changed.

A test patch that added the change_attr_type attribute to the
server and always returned NFS4_CHANGE_TYPE_VERSION_COUNTER_NOPNFS
seems to have resolved the issue.  Somewhat oddly, the Linux
knfsd server does not support this attribute but does not
seem to exhibit the stale caching problem.

This patch uses the VFCF_FILEREVINC flag on a file system (UFS, ZFS)
to return NFS4_CHANGE_TYPE_VERSION_COUNTER_NOPNFS.  It also
returns NFS4_CHANGE_TYPE_TIME_METADATA if VFCF_FILEREVCT is set,
which may be useful for exported fuse file systems.

PR:     284186

    [3 lines not shown]
DeltaFile
+32-0sys/fs/nfs/nfs_commonsubs.c
+10-1sys/fs/nfs/nfsproto.h
+42-12 files