FreeBSD/src e8a3352stand/efi/loader efi_main.c

loader.efi: Fix a comment

Move a comment further up in the file. After the sethead() we need to
use efi_exit(), not after the performance measuring stuff.

Sponsored by:           Netflix
DeltaFile
+2-2stand/efi/loader/efi_main.c
+2-21 files

FreeBSD/src e985c62sys/contrib/edk2/Include/IndustryStandard Acpi61.h, sys/contrib/edk2/Include/Protocol AcpiSystemDescriptionTable.h AcpiTable.h

edk2: Bring in some more files from edk2-stable202502

These are needed for memdisk support, so import them separately.
These are from 202502, like all the other files here.

Sponsored by:           Netflix
DeltaFile
+2,442-0sys/contrib/edk2/Include/IndustryStandard/Acpi61.h
+263-0sys/contrib/edk2/Include/Protocol/AcpiSystemDescriptionTable.h
+121-0sys/contrib/edk2/Include/Protocol/AcpiTable.h
+100-0sys/contrib/edk2/Include/Protocol/RamDisk.h
+2,926-04 files

FreeBSD/src 7f5539dtools/qemu gen_sockopt.sh README.md

qemu: Add tools to generate useful tables from FreeBSD sources

This generates a table of all the socket options with fixed types
so that programs like qemu can use those tables rather than having
to free code thigs.

Sponsored by:           Netflix
DeltaFile
+108-0tools/qemu/gen_sockopt.sh
+6-0tools/qemu/README.md
+114-02 files

FreeBSD/src 198637ausr.bin/vgrind vfontedpr.c regexp.c

vgrind: Tear down vgrind support

vgrind has been disconnected from the build for a while.  Remove from
the build, and gc vgrid support in the few remaining places.

Reviewed by:            jhb
Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D57648
DeltaFile
+0-704usr.bin/vgrind/vfontedpr.c
+0-584usr.bin/vgrind/regexp.c
+0-239usr.bin/vgrind/vgrind.1
+0-167usr.bin/vgrind/vgrindefs.5
+0-153usr.bin/vgrind/vgrindefs.src
+0-128usr.bin/vgrind/vgrind.sh
+0-1,97515 files not shown
+5-2,21021 files

FreeBSD/src c7b1b95sys/contrib/edk2/Include/Guid ImageAuthentication.h, sys/contrib/edk2/Include/IndustryStandard Tpm12.h Tpm20.h

edk2: Fixup imported files line endings

Since these files were a direct commit, I don't have to fix the vendor
branch. Remove the DOS line endings. It doesn't matter one way or another,
but we should be consistent within the tree.

Sponsored by:           Netflix
DeltaFile
+2,165-2,165sys/contrib/edk2/Include/IndustryStandard/Tpm12.h
+1,813-1,813sys/contrib/edk2/Include/IndustryStandard/Tpm20.h
+1,220-1,220sys/contrib/edk2/Include/Pi/PiStatusCode.h
+722-722sys/contrib/edk2/Include/IndustryStandard/UefiTcgPlatform.h
+512-512sys/contrib/edk2/Include/Pi/PiHob.h
+385-385sys/contrib/edk2/Include/Guid/ImageAuthentication.h
+6,817-6,8179 files not shown
+7,921-7,92115 files

FreeBSD/src 2e6b22asys/netpfil/ipfw/nat64 nat64clat.c nat64stl.c

ipfw/nat64: Fix type confusion panic when using wrong NAT64 instance type

Add etlv type validation to ipfw_nat64clat() and ipfw_nat64stl() to
verify that the retrieved instance is actually a nat64clat instance
before use.

All NAT64 instance types share the same srvstate[] array but have
different struct layouts.
Without type validation, using the wrong instance type with
a handler causes type confusion and kernel panic.

Signed-off-by:  Teddy Engel <engel.teddy at gmail.com>
PR:             292023
Reviewed by:    pouria
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2259
DeltaFile
+2-1sys/netpfil/ipfw/nat64/nat64clat.c
+2-1sys/netpfil/ipfw/nat64/nat64stl.c
+4-22 files

FreeBSD/src 635ad6flib/librpcsec_gss svc_rpcsec_gss.c

librpcsec_gss: Fix an off-by-one in rpc_gss_get_principal_name()

Include an extra byte for the nul-terminator, otherwise we may end up
with an out-of-bounds write.

The corresponding bug in the kernel implementation was fixed by commit
e3081f7e3e2d ("kgssapi(4): Fix string overrun in Kerberos principal construction").

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57738
DeltaFile
+1-1lib/librpcsec_gss/svc_rpcsec_gss.c
+1-11 files

FreeBSD/src 95ff2acsys/dev/acpica acpi.c

acpi: Set 'acpi_sstate' closer to setting 'acpi_stype'

Makes on-going modifications for hibernate easier.

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+4-6sys/dev/acpica/acpi.c
+4-61 files

FreeBSD/src 5ca875fsys/dev/acpica acpi.c acpi_lid.c

acpi: Export handler invoke helpers, use them in acpi_lid

Removes duplicated code.

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+2-2sys/dev/acpica/acpi.c
+2-2sys/dev/acpica/acpi_lid.c
+3-0sys/dev/acpica/acpivar.h
+7-43 files

FreeBSD/src 660a491sys/dev/acpica acpi.c acpivar.h

acpi: Button sleep/wake callbacks: Expose true argument types

This makes the interface composed of the
acpi_event_{power,sleep}_button_{sleep,wake}() functions more accurate
and clears the risk of calling them with a wrong object (such as a wrong
softc).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+19-29sys/dev/acpica/acpi.c
+4-4sys/dev/acpica/acpivar.h
+23-332 files

FreeBSD/src 6cce86csys/dev/acpica acpi.c

acpi: Sleep/wake event handlers: Expose first argument's true type

This is for clarification and to slightly simplify code.

At present, the EVENTHANDLER(9) subsystem does not check that the first
argument to the event handler, registered via EVENTHANDLER_REGISTER(),
is of the right type with respect to the type declaration passed to
EVENTHANDLER_DECLARE(), so in that infrastructure no additional safety
is gained by this change.

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+8-9sys/dev/acpica/acpi.c
+8-91 files

FreeBSD/src c08c52esys/dev/acpica acpi.c

acpi: Sleep event handler: Remove a wrong comment

No functional change.

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+1-2sys/dev/acpica/acpi.c
+1-21 files

FreeBSD/src 3b3911asys/dev/acpica acpi.c

acpi: Suffix acpi_sleep_enable() with '_locked'

For clarification.  This function assumes that the acpi mutex is held,
contrary to acpi_sleep_disable().

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+3-3sys/dev/acpica/acpi.c
+3-31 files

FreeBSD/src f7eff12sys/dev/acpica acpi.c, sys/sys power.h

power: Make POWER_STYPE_COUNT equal to POWER_STYPE_UNKNOWN

This avoids having to list POWER_STYPE_COUNT, which is semantically not
an allowed value, in 'switch' statements along with POWER_STYPE_UNKNOWN.

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+0-2sys/dev/acpica/acpi.c
+1-1sys/sys/power.h
+1-32 files

FreeBSD/src a12d069sys/dev/acpica acpi.c acpi_if.m

acpi: Constify thanks to AcpiGetHandle() taking a constant pathname

Make the ACPI interface's functions evaluate_object() and get_property()
take a constant pathname (by substituting ACPI_STRING with 'const char
*').

This allows to remove some __DECONST().

No functional change (intended).

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/OlCe2/freebsd-src/pull/8
DeltaFile
+9-15sys/dev/acpica/acpi.c
+4-4sys/dev/acpica/acpi_if.m
+3-3sys/dev/acpica/acpivar.h
+16-223 files

FreeBSD/ports 65a7640sysutils/signon-ui Makefile distinfo, sysutils/signon-ui/files patch-signon-ui.pro

sysutils/signon-ui: Update to the latest commit and switch to Qt 6
DeltaFile
+8-10sysutils/signon-ui/Makefile
+4-6sysutils/signon-ui/files/patch-signon-ui.pro
+3-3sysutils/signon-ui/distinfo
+15-193 files

FreeBSD/ports acf157dnet-im/kaccounts-integration Makefile, net-im/kaccounts-providers Makefile

*/*: Switch to unflavorized dependencies
DeltaFile
+3-3net-im/libsignon-glib/Makefile
+3-3sysutils/accounts-qml-module/Makefile
+3-2net-im/kaccounts-integration/Makefile
+3-2net-im/kaccounts-providers/Makefile
+2-1x11/plasma6-plasma-desktop/Makefile
+2-1net/kio-gdrive/Makefile
+16-121 files not shown
+18-137 files

FreeBSD/ports c3f6b75. MOVED

MOVED: Unflavorize net-im/libaccounts-qt
DeltaFile
+2-0MOVED
+2-01 files

FreeBSD/ports 44e453c. MOVED

MOVED: Unflavorize sysutils/signon-plugin-oauth2
DeltaFile
+2-0MOVED
+2-01 files

FreeBSD/ports f7332d1net-im/libaccounts-qt Makefile

net-im/libaccounts-qt: Deorbit Qt 5 flavor
DeltaFile
+7-13net-im/libaccounts-qt/Makefile
+7-131 files

FreeBSD/ports 754a904. MOVED

MOVED: Unflavorize sysutils/signond
DeltaFile
+2-0MOVED
+2-01 files

FreeBSD/ports 154f29asysutils/signond Makefile

sysutils/signond: Deorbit Qt5 flavor
DeltaFile
+5-10sysutils/signond/Makefile
+5-101 files

FreeBSD/ports ceb6e19misc/kf5-purpose Makefile

misc/kf5-purpose: Prepare for removal Qt5 flavor from net-im/libaccounts-qt

This port has no consumers, and support for KAccounts has been already
disabled partially in b44569f1372dcc68678d82143c83da4df54afde7
DeltaFile
+1-5misc/kf5-purpose/Makefile
+1-51 files

FreeBSD/ports 92fbf6bsysutils/signon-plugin-oauth2 Makefile

sysutils/signon-plugin-oauth2: Deorbit Qt 5 flavor
DeltaFile
+5-18sysutils/signon-plugin-oauth2/Makefile
+5-181 files

FreeBSD/ports a061775science/afni distinfo Makefile

science/afni: Update to 26.1.05
DeltaFile
+3-3science/afni/distinfo
+1-1science/afni/Makefile
+4-42 files

FreeBSD/src 4fd518fbin/kenv kenv.1, lib/libsys kenv.2

kern: add a security knob to disable unprivileged access to kenv

We sometimes store sensitive things in the kenv that get zapped, but we
really shouldn't rely on that zapping to actually happen.  Most
unprivileged processes don't really need to read from the kernel
environment in the first place, so add a knob that allows it to be
disabled.

Note that we consider jailed root to be unprivileged from this
perspective; they have their own meta/env concepts and we should
encourage users to take advantage of those for passing information to
jails.

"Hey we should do something about that":        dch
Reviewed by:    imp, ziaee, zlei (all slightly previous version)
Differential Revision:  https://reviews.freebsd.org/D57697
DeltaFile
+40-6sys/kern/kern_environment.c
+9-1bin/kenv/kenv.1
+6-1lib/libsys/kenv.2
+3-1share/man/man7/security.7
+1-0sys/sys/priv.h
+59-95 files

FreeBSD/ports 1496ec7emulators/libspectrum distinfo pkg-plist

emulators/libspectrum: update to 1.6.2

Reported by:    portscout
DeltaFile
+3-3emulators/libspectrum/distinfo
+1-1emulators/libspectrum/pkg-plist
+1-1emulators/libspectrum/Makefile
+5-53 files

FreeBSD/src 88deb1cusr.sbin/makefs/zfs dsl.c

makefs/zfs: Explicitly include sys/param.h for nitems()

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0usr.sbin/makefs/zfs/dsl.c
+1-01 files

FreeBSD/src ca89b0fusr.bin/xinstall xinstall.c

install: Explicitly include sys/param.h for MAXPATHLEN

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0usr.bin/xinstall/xinstall.c
+1-01 files

FreeBSD/ports 03ad836sysutils/nerdctl distinfo Makefile

sysutils/nerdctl: Update to 2.3.3

Changelog: https://github.com/containerd/nerdctl/releases/tag/v2.3.3

PR:             296102
Reviewed by:    thierry (mentor)
Approved by:    thierry (mentor)
DeltaFile
+5-5sysutils/nerdctl/distinfo
+1-2sysutils/nerdctl/Makefile
+6-72 files