HardenedBSD/src ed4d30cshare/misc bsd-family-tree

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+408-401share/misc/bsd-family-tree
+408-4011 files

HardenedBSD/src e7fba12share/misc bsd-family-tree

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+408-401share/misc/bsd-family-tree
+408-4011 files

HardenedBSD/src fff399dshare/misc bsd-family-tree

bsd-family-tree: add FreeBSD 15.0

(cherry picked from commit 7b44ab1c6abe106a44604a8504edca0e57ec1c42)

Sponsored by:   tipi.work
DeltaFile
+4-1share/misc/bsd-family-tree
+4-11 files

HardenedBSD/src 5b428bbshare/misc bsd-family-tree

bsd-family-tree: Re-center OpenBSD line

Commit 09aeca28dd75 ("BSD family tree: reduce OpenBSD-NetBSD crowding")
moved OpenBSD releases over 2 spaces.  Move the line through OpenBSD
releases over as well.

Reviewed by:    obrien
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53635

(cherry picked from commit 1821cf482ff128b08bd65807e1f7aad7eb873e0b)
DeltaFile
+404-404share/misc/bsd-family-tree
+404-4041 files

HardenedBSD/src 36b9d60share/misc bsd-family-tree

bsd-family-tree: add macOS 26

Sponsored by:   tipi.work

(cherry picked from commit c6e02892bbca1237546e3943c0971768822e1745)
DeltaFile
+5-1share/misc/bsd-family-tree
+5-11 files

HardenedBSD/src 1c7c315share/misc bsd-family-tree

bsd-family-tree: add FreeBSD 15.0

(cherry picked from commit 7b44ab1c6abe106a44604a8504edca0e57ec1c42)

Sponsored by:   tipi.work
DeltaFile
+4-1share/misc/bsd-family-tree
+4-11 files

HardenedBSD/src d8ff327share/misc bsd-family-tree

bsd-family-tree: Re-center OpenBSD line

Commit 09aeca28dd75 ("BSD family tree: reduce OpenBSD-NetBSD crowding")
moved OpenBSD releases over 2 spaces.  Move the line through OpenBSD
releases over as well.

Reviewed by:    obrien
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53635

(cherry picked from commit 1821cf482ff128b08bd65807e1f7aad7eb873e0b)
DeltaFile
+404-404share/misc/bsd-family-tree
+404-4041 files

HardenedBSD/src 4f184fdusr.sbin/nfsd nfsd.8

nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup

The nfsd can be configured to support NFSv3, NFSv4 or both
of them.

This patch adds a short paragraph to nfsd.8 to explain this.

This is a content change.

Reviewed by:    kib, zaiee (manpages)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54279
DeltaFile
+60-2usr.sbin/nfsd/nfsd.8
+60-21 files

HardenedBSD/src 2cf7b7ashare/misc bsd-family-tree

bsd-family-tree: add macOS 26

Sponsored by:   tipi.work

(cherry picked from commit c6e02892bbca1237546e3943c0971768822e1745)
DeltaFile
+5-1share/misc/bsd-family-tree
+5-11 files

HardenedBSD/src 160077atools/build/mk OptionalObsoleteFiles.inc

OptionalObsoleteFiles.inc: fix up WITH_LLVM_LINK_STATIC_LIBRARIES cases

In commit cf1eaaf41cef I added the WITH_LLVM_LINK_STATIC_LIBRARIES
src.conf(5) build knob, which also affects OptionalObsoleteFiles.inc.

However, the checks were incorrect: when WITH_LLVM_LINK_STATIC_LIBRARIES
is active, the OLD_LIBS libprivatellvm.so.19, libprivateclang.so.19 and
libprivatelldb.so.19 should always be cleaned up.

Fixes:          cf1eaaf41cef
MFC after:      1 week
DeltaFile
+6-6tools/build/mk/OptionalObsoleteFiles.inc
+6-61 files

HardenedBSD/src 2ce6ccaetc/mtree BSD.tests.dist, sys/fs/unionfs union_subr.c union_vnops.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+168-0sys/fs/unionfs/union_subr.c
+165-0tests/sys/fs/unionfs/unionfs_test.sh
+10-0sys/fs/unionfs/union_vnops.c
+8-0tests/sys/fs/unionfs/Makefile
+2-0etc/mtree/BSD.tests.dist
+1-0tests/sys/fs/Makefile
+354-01 files not shown
+355-07 files

HardenedBSD/src 5fa23c5etc/mtree BSD.tests.dist, sys/fs/unionfs union_subr.c union_vnops.c

unionfs: Support renaming symbolic links

This adds support for renaming a symbolic link found on the lower fs,
which necessitates copying it to the upper fs, as well as basic tests.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    olce, siderop1_netapp.com, jah
Differential Revision:  https://reviews.freebsd.org/D54229

(cherry picked from commit a678e87f5533521f6dec1a4e85c3decb1c3b6584)
DeltaFile
+168-0sys/fs/unionfs/union_subr.c
+165-0tests/sys/fs/unionfs/unionfs_test.sh
+10-0sys/fs/unionfs/union_vnops.c
+8-0tests/sys/fs/unionfs/Makefile
+2-0etc/mtree/BSD.tests.dist
+1-0tests/sys/fs/Makefile
+354-01 files not shown
+355-07 files

HardenedBSD/src 52c2636sys/fs/devfs devfs_vnops.c devfs_int.h, sys/kern kern_conf.c

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+14-3sys/fs/devfs/devfs_vnops.c
+6-6sys/vm/vm_fault.c
+3-0sys/kern/kern_conf.c
+1-0sys/fs/devfs/devfs_int.h
+24-94 files

HardenedBSD/src 9d015dasys/fs/tmpfs tmpfs_vnops.c, sys/vm vm_object.c vm_fault.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+17-0sys/vm/vm_object.c
+6-6sys/vm/vm_fault.c
+2-3sys/vm/swap_pager.c
+2-0sys/fs/tmpfs/tmpfs_vnops.c
+27-94 files

HardenedBSD/src b29fb0bsys/fs/devfs devfs_vnops.c devfs_int.h, sys/kern kern_conf.c

devfs: make destroy_dev() a release barrier for cdevpriv destructors runs

(cherry picked from commit 4dbe6628179d8e6bf400bfdb4bfa869bdc102a56)
DeltaFile
+14-3sys/fs/devfs/devfs_vnops.c
+3-0sys/kern/kern_conf.c
+1-0sys/fs/devfs/devfs_int.h
+18-33 files

HardenedBSD/src e6bdbc1sys/vm vm_fault.c

vm_fault_trap(): fix comments grammar

(cherry picked from commit 95788a851deb33242c18beb47f8a79eec320dfa5)
DeltaFile
+6-6sys/vm/vm_fault.c
+6-61 files

HardenedBSD/src 7dc87eesys/fs/tmpfs tmpfs_vnops.c, sys/vm swap_pager.c

swap_pager_seek_data(): move the clipping at the object size to consumers

(cherry picked from commit 30ae88e3b217b12476dba665d163ab0d8dd6a8a7)
DeltaFile
+2-0sys/fs/tmpfs/tmpfs_vnops.c
+0-2sys/vm/swap_pager.c
+2-22 files

HardenedBSD/src 6397c14sys/vm swap_pager.c

swap_pager_seek_data(): improve assertions

(cherry picked from commit bdfd695037a95b076aeffd04ed9fdf042b6ce218)
DeltaFile
+2-1sys/vm/swap_pager.c
+2-11 files

HardenedBSD/src 4780985sys/vm vm_fault.c

vm_fault_trap(): fix comments grammar

(cherry picked from commit 95788a851deb33242c18beb47f8a79eec320dfa5)
DeltaFile
+6-6sys/vm/vm_fault.c
+6-61 files

HardenedBSD/src d7bc2eesys/vm vm_object.c

vm_object_coalesce(): check that coalescing does not revive stale pages

(cherry picked from commit f94bfc469df9a2bc78ed15cc42525d09e3413e0b)
DeltaFile
+17-0sys/vm/vm_object.c
+17-01 files

HardenedBSD/src 8d5a11clib/clang/libclang Makefile, lib/clang/liblldb Makefile

src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knob

In commit 2e47f35be5dc libllvm, libclang and liblldb were converted into
private shared libraries. This allowed clang, lld, lldb, and other llvm
tools to be linked against these shared libraries, which makes them
smaller and avoids duplication.

However, this also comes at the cost of some performance, since the
dynamic libraries are quite large, and contain lots of long symbols
(mangled C++ identifiers).

Add a WITH_LLVM_LINK_STATIC_LIBRARIES build knob that can be used to go
back to the previous behavior: libllvm, libclang and liblldb are built
as internal static libraries, i.e. only available during buildworld, and
fully linked into the various executables such as clang, lld, etc.

PR:             287447
Reviewed by:    emaste
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D50956
DeltaFile
+12-1lib/clang/liblldb/Makefile
+8-3tools/build/mk/OptionalObsoleteFiles.inc
+8-1share/man/man5/src.conf.5
+4-5lib/clang/libllvm/Makefile
+4-4lib/clang/libclang/Makefile
+6-0tools/build/options/WITH_LLVM_LINK_STATIC_LIBRARIES
+42-147 files not shown
+61-1713 files

HardenedBSD/src 5819f8busr.sbin/bhyve bhyve.8

bhyve.8: Fix consistency and terms in manpage

Correct inconsistent spelling of terms and duplication.

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54332
DeltaFile
+34-33usr.sbin/bhyve/bhyve.8
+34-331 files

HardenedBSD/src 26cc9fclibexec/atrun atrun.man

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+1-1libexec/atrun/atrun.man
+1-11 files

HardenedBSD/src 1e8c2cbsys/vm vnode_pager.c

vnode_pager: use ptoa(), atop()

In vnode_pager.c, use ptoa() or atop() instead of arithmetic with
PAGE_SIZE or PAGE_SHIFT.

Reviewed by:    alc, kib
Differential Revision:  https://reviews.freebsd.org/D49330
DeltaFile
+10-10sys/vm/vnode_pager.c
+10-101 files

HardenedBSD/src 1aea5b0sys/conf files

nvme: make the interface standard file

This makes nvme.ko and nvd.ko loadable.

Fixes:  aed44717a1606e4c5c79f7c8831de49cba64d7e6
DeltaFile
+1-1sys/conf/files
+1-11 files

HardenedBSD/src a7e0f6asys/dev/usb/quirk usb_quirk.c

Specialize the REALTEK RTL8153 quirk to just rev=0x31fd
DeltaFile
+1-1sys/dev/usb/quirk/usb_quirk.c
+1-11 files

HardenedBSD/src 3c83b5dshare/man/man4 udl.4

udl.4: Tweak HARDWARE for hardware release note

Fixes:  97fa62708f67 (udl.4: Consolidate HARDWARE and add HISTORY)
DeltaFile
+40-21share/man/man4/udl.4
+40-211 files

HardenedBSD/src 97fa627share/man/man4 udl.4

udl.4: Consolidate HARDWARE and add HISTORY

Some of the information needed for the HARDWARE section was the entire
DESCRIPTION section, so merge the two. While here, add the HISTORY of
this driver, add "driver" to the document description matching other
drivers, and tag the SPDX license identifier for mechanical parsing.

MFC after:      3 days
DeltaFile
+15-7share/man/man4/udl.4
+15-71 files

HardenedBSD/src c6cddb8libexec/atrun atrun.man

at cron file is now in /etc/cron.d

PR: 243380
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1106

(cherry picked from commit 783baf00128f6cf6fc08404eaad6a11b29d4025d)
DeltaFile
+1-1libexec/atrun/atrun.man
+1-11 files

HardenedBSD/src f7245a2share/man/man4 cdce.4

cdce.4: Add RTL8153 to HARDWARE

Fixes:  1b1fb628a1af (Quirk Realtek RTL8153 to config#1)
DeltaFile
+3-1share/man/man4/cdce.4
+3-11 files