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
+4-5lib/clang/libllvm/Makefile
+8-1share/man/man5/src.conf.5
+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

HardenedBSD/src 0375204share/man/man4 cdce.4

cdce.4: Minor polish

+ Tag spdx license identifier   + Fix "e.g.,"s to quiet linter
+ Remove useless Nd quoting     + Put example in EXAMPLES

MFC after:      3 days
DeltaFile
+20-15share/man/man4/cdce.4
+20-151 files

HardenedBSD/src fbc321bsbin/camcontrol camcontrol.8

camcontrol.8: Descriptions before examples

This page has a lot of examples, so having them in the previous order
can be confusing. Rewrite to the normal order where the descriptions
come before the command, followed by a colon, which is still clear even
jumping to the middle of the section.

PR:                     291759
MFC after:              3 days
Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D54285
DeltaFile
+149-202sbin/camcontrol/camcontrol.8
+149-2021 files

HardenedBSD/src d93d03fcontrib/xz ChangeLog THANKS, contrib/xz/src/common my_landlock.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1,586-0contrib/xz/ChangeLog
+226-208contrib/xz/THANKS
+51-28sys/dev/mana/mana_en.c
+34-45contrib/xz/src/liblzma/common/stream_decoder_mt.c
+72-0contrib/xz/src/xz/hardware.c
+44-1contrib/xz/src/common/my_landlock.h
+2,013-28234 files not shown
+2,160-37440 files

HardenedBSD/src f421036contrib/xz ChangeLog THANKS, contrib/xz/src/common my_landlock.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,586-0contrib/xz/ChangeLog
+226-208contrib/xz/THANKS
+34-45contrib/xz/src/liblzma/common/stream_decoder_mt.c
+51-28sys/dev/mana/mana_en.c
+72-0contrib/xz/src/xz/hardware.c
+44-1contrib/xz/src/common/my_landlock.h
+2,013-28234 files not shown
+2,160-37440 files

HardenedBSD/src 745c6c0. ObsoleteFiles.inc, usr.bin Makefile

Resurrect standalone command

While command(1) is now classified by POSIX as an intrinsic utility and
no longer required to exist as a standalone program, it turns out that
we still have a use for it (cf. env(1)), so resurrect it.

PR:             291879
Fixes:          4100bd6caa66 ("usr.bin: Remove intrinsic utilities")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D54341
DeltaFile
+4-0usr.bin/command/Makefile
+2-0usr.bin/command/command.sh
+0-1ObsoleteFiles.inc
+1-0usr.bin/Makefile
+7-14 files

HardenedBSD/src ae12432contrib/xz ChangeLog THANKS, contrib/xz/src/common my_landlock.h

MFV 762f11d98d5cd57ebbe85c36e9e86a557a91fe4e: xz 5.8.2.

MFC after:      7 days
DeltaFile
+1,586-0contrib/xz/ChangeLog
+226-208contrib/xz/THANKS
+34-45contrib/xz/src/liblzma/common/stream_decoder_mt.c
+72-0contrib/xz/src/xz/hardware.c
+44-1contrib/xz/src/common/my_landlock.h
+18-20contrib/xz/src/liblzma/api/lzma/container.h
+1,980-27427 files not shown
+2,088-34233 files

HardenedBSD/src 388641d. RELNOTES, sys/dev/hyperv/netvsc if_hn.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+5-3sys/dev/hyperv/netvsc/if_hn.c
+4-0RELNOTES
+9-32 files

HardenedBSD/src 35df47b. RELNOTES, sys/dev/hyperv/netvsc if_hn.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+5-3sys/dev/hyperv/netvsc/if_hn.c
+4-0RELNOTES
+9-32 files

HardenedBSD/src a5ada0acontrib/blocklist FreeBSD-upgrade freebsd-changes.sh, contrib/blocklist/bin blocklistd.c blacklistd.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+97-0contrib/blocklist/FreeBSD-upgrade
+17-13contrib/blocklist/bin/blocklistd.c
+17-13contrib/blocklist/bin/blacklistd.c
+18-0contrib/blocklist/freebsd-changes.sh
+149-264 files

HardenedBSD/src d0a2bd2sys/dev/mana mana_en.c mana.h

mana: support jumbo packet size

Remove the restriction of up to 4k packet size. Now the driver
supports up to MJUM16BYTES size packets as long as hardware
supporting it.

Tested on VMs in Azure.

Tested by:      whu
MFC after:      1 week
Sponsored by:   Microsoft
DeltaFile
+51-28sys/dev/mana/mana_en.c
+8-3sys/dev/mana/mana.h
+6-0sys/dev/mana/gdma.h
+65-313 files

HardenedBSD/src 44f6566sys/dev/hyperv/netvsc if_hn.c

Hyper-V: hn: just call vf's ioctl when changing mtu

When changing mtu, if a vf is attached to the netvsc interface, just
calling its ioctl to change vf's mtu is good enough.

Tested by:      whu
MFC after:      3 days
Sponsored by:   Microsoft
DeltaFile
+5-3sys/dev/hyperv/netvsc/if_hn.c
+5-31 files

HardenedBSD/src b94e4c7. RELNOTES

RELNOTES: Add an entry for 8e3fd450cc53 and friends
DeltaFile
+4-0RELNOTES
+4-01 files