HardenedBSD/src e8a256dusr.bin Makefile, usr.bin/yes yes.c yes.1

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+53-22usr.bin/yes/yes.c
+3-21usr.sbin/virtual_oss/virtual_oss/main.c
+4-2usr.bin/yes/yes.1
+1-1usr.bin/Makefile
+61-464 files

HardenedBSD/src 870af77usr.bin Makefile, usr.bin/yes yes.c yes.1

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+53-22usr.bin/yes/yes.c
+3-21usr.sbin/virtual_oss/virtual_oss/main.c
+4-2usr.bin/yes/yes.1
+1-1usr.bin/Makefile
+61-464 files

HardenedBSD/src 2bf8f0clib/libsys rename.2, sys/amd64/amd64 trap.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+65-26lib/libsys/rename.2
+7-74usr.sbin/mixer/mixer.c
+4-71usr.sbin/mixer/mixer.8
+42-15sys/amd64/amd64/trap.c
+35-14sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c
+33-7sys/kern/vfs_syscalls.c
+186-20742 files not shown
+443-24648 files

HardenedBSD/ports 6d9f471devel/electron40 distinfo, devel/electron40/files patch-electron_shell_browser_native__window__views.cc patch-electron_shell_browser_api_electron__api__web__contents.cc

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+13-13devel/electron40/files/patch-electron_shell_browser_native__window__views.cc
+13-13devel/electron40/distinfo
+8-8devel/electron40/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+12-2www/py-fastapi/Makefile
+7-7sysutils/zot/distinfo
+5-5dns/dnscontrol/distinfo
+58-4846 files not shown
+152-14952 files

HardenedBSD/src b2ae957sys/compat/linux linux_file.c

linuxolator: translate LINUX_RENAME_NOREPLACE into our AT_RENAME_NOREPLACE

(cherry picked from commit 8feb8d221cfb842ee11d744d22571baec6c18cd8)
DeltaFile
+23-12sys/compat/linux/linux_file.c
+23-121 files

HardenedBSD/src 1bb58balib/libsys rename.2

libsys/rename.2: remove commented-out CAVEAT section

(cherry picked from commit 5f911eaba017645487a1eaee3609b26a77f0f174)
DeltaFile
+0-26lib/libsys/rename.2
+0-261 files

HardenedBSD/src b5e307dsys/compat/freebsd32 freebsd32_systrace_args.c freebsd32_syscall.h, sys/kern systrace_args.c

Regen
DeltaFile
+38-0sys/kern/systrace_args.c
+38-0sys/compat/freebsd32/freebsd32_systrace_args.c
+9-0sys/sys/sysproto.h
+2-1sys/sys/syscall.h
+2-1sys/compat/freebsd32/freebsd32_syscall.h
+2-1sys/sys/syscall.mk
+91-36 files not shown
+99-312 files

HardenedBSD/src 3ccc39dlib/libsys rename.2 Makefile.sys

renameat2(2): document

(cherry picked from commit 619e49b2ba58e1ffd2ab111fef6d1e87d77e7391)
DeltaFile
+65-0lib/libsys/rename.2
+2-1lib/libsys/Makefile.sys
+67-12 files

HardenedBSD/src 5061709sys/amd64/amd64 trap.c

amd64: print userspace fsbase and gsbase for uprintf_signal

(cherry picked from commit 272ea451199462dffd55dd580532eb28ddc92174)
DeltaFile
+19-2sys/amd64/amd64/trap.c
+19-21 files

HardenedBSD/src 9c37c82sys/fs/msdosfs msdosfs_vnops.c, sys/fs/tmpfs tmpfs_vnops.c

renameat2(2): implement AT_RENAME_NOREPLACE flag

(cherry picked from commit 7aaec5f3faecf98e377c97e24dddb9c65f4b2e75)
DeltaFile
+20-4sys/kern/vfs_syscalls.c
+7-2sys/fs/tmpfs/tmpfs_vnops.c
+7-2sys/fs/msdosfs/msdosfs_vnops.c
+6-1sys/ufs/ufs/ufs_vnops.c
+3-0sys/sys/fcntl.h
+43-95 files

HardenedBSD/src 522dbebinclude stdio.h, lib/libsys Symbol.sys.map

sys: add renameat2(2) syscall

(cherry picked from commit 28599a1e5f1b90676a818e0a4818cddd0839ad25)
DeltaFile
+10-0sys/kern/vfs_syscalls.c
+9-1sys/kern/syscalls.master
+1-0include/stdio.h
+1-0lib/libsys/Symbol.sys.map
+21-14 files

HardenedBSD/src bbdf045sys/compat/linux linux_file.c, sys/kern vfs_syscalls.c

kern_renameat(9): add flags argument

(cherry picked from commit 1f3020067ab3f3c5043d01ea1e3a3d2998a39d4a)
DeltaFile
+4-4sys/kern/vfs_syscalls.c
+2-2sys/compat/linux/linux_file.c
+1-1sys/sys/syscallsubr.h
+7-73 files

HardenedBSD/src 45401a4sys/fs/msdosfs msdosfs_vnops.c, sys/fs/nfsclient nfs_clvnops.c

VOP_RENAME(9): add flags argument

(cherry picked from commit e486066cf48a89ba87fab6b3d2b56f271f50439b)
DeltaFile
+7-0sys/ufs/ufs/ufs_vnops.c
+6-1sys/fs/unionfs/union_vnops.c
+6-0sys/fs/nfsclient/nfs_clvnops.c
+5-0sys/fs/msdosfs/msdosfs_vnops.c
+5-0sys/fs/p9fs/p9fs_vnops.c
+5-0sys/fs/smbfs/smbfs_vnops.c
+34-17 files not shown
+51-413 files

HardenedBSD/src 72cf8b9sys/contrib/openzfs/include/os/freebsd/zfs/sys zfs_vnops_os.h, sys/contrib/openzfs/module/os/freebsd/zfs zfs_vnops_os.c

zfs: implement AT_RENAME_NOREPLACE

(cherry picked from commit 7a1217ff3bbdd1ef40d1b94170c53611fadeb026)
DeltaFile
+17-8sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c
+2-2sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_vnops_os.h
+1-1sys/contrib/openzfs/module/zfs/zfs_replay.c
+20-113 files

HardenedBSD/src 0b0bbdasys/contrib/openzfs/module/os/freebsd/zfs zfs_vnops_os.c

zfs rename: properly cleanup on errors occuring before zfs_do_rename()

(cherry picked from commit ed87040311b88e2c95a791aa049f2c37c857f048)
DeltaFile
+16-7sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c
+16-71 files

HardenedBSD/src ade7375sys/amd64/amd64 efirt_support.S

amd64: align stack on 16 bytes when calling into a EFIRT method

(cherry picked from commit 347cec10e25eacb2906a0a8105eff036850db766)
DeltaFile
+1-0sys/amd64/amd64/efirt_support.S
+1-01 files

HardenedBSD/src b0ca929sys/amd64/amd64 apic_vector.S, sys/i386/i386 mp_machdep.c apic_vector.S

x86: change signatures of ipi_{bitmap,swi}_handler() to take pointer

(cherry picked from commit fdc1f34506346fd26db8bfb80ba69d1af844c53a)
DeltaFile
+14-0sys/i386/i386/mp_machdep.c
+5-5sys/x86/x86/mp_x86.c
+2-2sys/x86/include/x86_smp.h
+2-2sys/i386/i386/apic_vector.S
+2-2sys/x86/xen/xen_apic.c
+2-0sys/amd64/amd64/apic_vector.S
+27-116 files

HardenedBSD/src ab2b871sys/amd64/amd64 trap.c

amd64: extract uprintf_signal printing into a helper

(cherry picked from commit 3e8a9995e9541a0bdd707f111e51ef46a544ee3e)
DeltaFile
+25-15sys/amd64/amd64/trap.c
+25-151 files

HardenedBSD/ports ce60872www/radicale distinfo Makefile

www/radicale: Update to 3.6.1

Upstream switched from passlib to libpass but we don't have this in
ports yet and passlib is still compatible so ignore this for the moment.
DeltaFile
+3-3www/radicale/distinfo
+1-1www/radicale/Makefile
+4-42 files

HardenedBSD/ports 033fe26multimedia/kodi-addon-inputstream.adaptive distinfo Makefile

multimedia/kodi-addon-inputstream.adaptive: Update to 22.3.9
DeltaFile
+3-3multimedia/kodi-addon-inputstream.adaptive/distinfo
+1-1multimedia/kodi-addon-inputstream.adaptive/Makefile
+4-42 files

HardenedBSD/ports d6e4f73multimedia/kodi-addon-pvr.iptvsimple distinfo Makefile

multimedia/kodi-addon-pvr.iptvsimple: Update to 22.6.4
DeltaFile
+3-3multimedia/kodi-addon-pvr.iptvsimple/distinfo
+1-1multimedia/kodi-addon-pvr.iptvsimple/Makefile
+4-42 files

HardenedBSD/ports 1bb544cmultimedia/kodi-addon-pvr.hts distinfo Makefile

multimedia/kodi-addon-pvr.hts: Update to 22.8.1
DeltaFile
+3-3multimedia/kodi-addon-pvr.hts/distinfo
+1-1multimedia/kodi-addon-pvr.hts/Makefile
+4-42 files

HardenedBSD/ports 57547f6dns/dnscontrol distinfo Makefile

dns/dnscontrol: Update to 4.36.1
DeltaFile
+5-5dns/dnscontrol/distinfo
+1-2dns/dnscontrol/Makefile
+6-72 files

HardenedBSD/ports ff5d866sysutils/zot distinfo Makefile

sysutils/zot: Update to 2.1.15
DeltaFile
+7-7sysutils/zot/distinfo
+2-3sysutils/zot/Makefile
+9-102 files

HardenedBSD/ports 3c2ad84sysutils/zli distinfo Makefile

sysutils/zli: Update to 2.1.15
DeltaFile
+5-5sysutils/zli/distinfo
+1-2sysutils/zli/Makefile
+6-72 files

HardenedBSD/src a2b6013usr.sbin/virtual_oss/virtual_oss main.c

virtual_oss: Combine -d, -l and -L option getopt code

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55671
DeltaFile
+3-21usr.sbin/virtual_oss/virtual_oss/main.c
+3-211 files

HardenedBSD/src 7167732sys/dev/sound/pcm sound.c

sound: Notify devd on hw.snd.default_unit change

If we have virtual_oss running, this devd notification will make sure to
automatically transfer sound to the new default unit, while also making
sure that we switch to it only for the supported directions (recording
and/or playback).

For more information, please refer to 2ffaca551eaf ("snd_hda: Implement
automatic redirection between associations").

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

(cherry picked from commit d40189f8259e3565c69a40194f7b603d0ca648de)
DeltaFile
+7-0sys/dev/sound/pcm/sound.c
+7-01 files

HardenedBSD/src 10aa4c8usr.sbin/mixer mixer.c mixer.8

Revert "mixer(8): Implement hot-swapping"

We now have devd rules in snd.conf that achieve this in a much cleaner
way.

This reverts commit 9aac27599acaffa21ff69c5be8a2d71d29cc3d6b.

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

(cherry picked from commit d00b32c2d70ce79fddb94dd990d2b162c8fc3a85)
DeltaFile
+7-74usr.sbin/mixer/mixer.c
+4-71usr.sbin/mixer/mixer.8
+11-1452 files

HardenedBSD/src 0b27b79sbin/devd snd.conf devd.conf.5, sys/dev/sound/pcm sound.c

sound: Notify devd when no devices are connected

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

(cherry picked from commit 428517a7712e44b58e0687fbee4037a8ebe5bf5a)
DeltaFile
+10-0sbin/devd/snd.conf
+3-1sbin/devd/devd.conf.5
+2-0sys/dev/sound/pcm/sound.c
+15-13 files

HardenedBSD/ports 28e42a0www/py-django-cms distinfo Makefile

www/py-django-cms: Update to 5.0.6
DeltaFile
+3-3www/py-django-cms/distinfo
+1-1www/py-django-cms/Makefile
+4-42 files