FreeBSD/src ee1c3d3sys/fs/fuse fuse_io.c fuse_vnops.c, tests/sys/fs/fusefs misc.cc ext2-misc.sh

fusefs: fix vnode locking violations during execve

Fix two locking violations that could happen during execve, while
executing a file stored on fusefs.  Both would cause panics on an
INVARIANTS kernel after 15.0, or a DEBUG_VFS_LOCKS kernel prior to that.
Neither is likely to be noticeable on a release kernel.

* Don't assume that the vnode is exclusively locked during VOP_CLOSE.
  It usually is thanks to !MNTK_LOOKUP_SHARED, but isn't during execve,
  which locks the vnode outside of the lookup path.

* Totally rewrite fuse_io_invalbuf.  It's had a number of problems ever
  since its original introduction[^1]:

  - Don't assume that the vnode is exclusively locked.  That assumption
    failed during execve just like the assumption in fuse_vnop_close.

  - Don't livelock forever if vinvalbuf returns ENOSPC or EDQUOT.


    [20 lines not shown]
DeltaFile
+304-0tests/sys/fs/fusefs/misc.cc
+55-0tests/sys/fs/fusefs/ext2-misc.sh
+2-47sys/fs/fuse/fuse_io.c
+22-5sys/fs/fuse/fuse_vnops.c
+2-1tests/sys/fs/fusefs/utils.cc
+1-1tests/sys/fs/fusefs/mockfs.cc
+386-542 files not shown
+388-568 files

FreeBSD/ports 37cbaf3devel/p5-Sys-Virt distinfo Makefile

devel/p5-Sys-Virt: update to 12.5.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/p5-Sys-Virt/distinfo
+1-1devel/p5-Sys-Virt/Makefile
+4-42 files

FreeBSD/ports 368aa8cprint/lilypond pkg-plist Makefile, print/lilypond/files patch-lily_include_smobs.hh patch-make_texinfo-vars.make

print/lilypond: Update 2.24.4 => 2.26.0

Release Notes:
https://lilypond.org/news.html#LilyPond-2_002e26_002e0-released_0021-April-21_002c-2026

Changes:
https://lilypond.org/doc/v2.26/Documentation/changes/

- Refresh patches.

PR:             296483
Sponsored by:   UNIS Labs
DeltaFile
+87-17print/lilypond/pkg-plist
+0-18print/lilypond/files/patch-lily_include_smobs.hh
+7-7print/lilypond/Makefile
+0-11print/lilypond/files/patch-make_texinfo-vars.make
+3-3print/lilypond/files/patch-Documentation_GNUmakefile
+3-3print/lilypond/distinfo
+100-591 files not shown
+102-617 files

FreeBSD/ports f0d9f13print/lilypond-devel distinfo Makefile, print/lilypond-devel/files patch-config.make.in

print/lilypond-devel: Update 2.25.35 => 2.27.1

Release Notes:
https://lilypond.org/news.html#LilyPond-2_002e27_002e1-released-June-6_002c-2026

- Refresh patches.

PR:             296484
Sponsored by:   UNIS Labs
DeltaFile
+3-3print/lilypond-devel/distinfo
+2-2print/lilypond-devel/files/patch-config.make.in
+1-2print/lilypond-devel/Makefile
+1-0print/lilypond-devel/pkg-plist
+7-74 files

FreeBSD/src 7e0df6asys/x86/cpufreq hwpstate_amd.c

hwpstate_amd(4): Use new cpu_get_pcpuid(), constify related variables

Also, add a check in the attach method that a per-CPU structure is
provided by the bus.  This allows to remove such checks in multiple
functions.  The check cannot currently fail as all x86 CPU drivers
(ACPI, legacy) provide the CPU_IVAR_PCPU instance variable, but it is
safer to have it, especially as an example to other driver writers.

Event:          Halifax Hackathon 202606
Location:       Seat 25A in AF0349, before leaving Montréal-Trudeau
Sponsored by:   The FreeBSD Foundation
DeltaFile
+45-47sys/x86/cpufreq/hwpstate_amd.c
+45-471 files

FreeBSD/src 74e43f6sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel(4): Use new cpu_get_pcpuid(), constify related variables

Also, add a check in the attach method that a per-CPU structure is
provided by the bus.  This allows to remove such checks in multiple
functions.  The check cannot currently fail as all x86 CPU drivers
(ACPI, legacy) provide the CPU_IVAR_PCPU instance variable, but it is
safer to have it, especially as an example to other driver writers.

Event:          Halifax Hackathon 202606
Location:       Seat 36K in AC667, still waiting for a gate at Montréal-Trudeau
Sponsored by:   The FreeBSD Foundation
DeltaFile
+31-54sys/x86/cpufreq/hwpstate_intel.c
+31-541 files

FreeBSD/src c3c8f4dsys/sys cpu.h

cpu: New cpu_get_pcpuid(), retrieves internal CPU ID

It is a handy shortcut that will be used extensively in
hwpstate_intel(4) and hwpstate_amd(4).

Warn users that it panics if the parent bus does not provide the
CPU_IVAR_PCPU instance variable.  That condition should be tested by
callers (doing so once is enough).  Suggest to do that in driver's
attach method.

Reviewed by:    jhb (code)
Event:          Halifax Hackathon 202606
Location:       Seat 36K in AC667, waiting for a gate at Montréal-Trudeau
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57897
DeltaFile
+11-0sys/sys/cpu.h
+11-01 files

FreeBSD/ports 5ef39cdgames/libretro-genesis_plus_gx distinfo Makefile

games/libretro-genesis_plus_gx: Update 0.20231020 => 0.20260627, take maintainership

Changelog:
https://github.com/libretro/Genesis-Plus-GX/blob/5a8389c/HISTORY.txt

Commit Log:
https://github.com/libretro/Genesis-Plus-GX/compare/3dc6af4...5a8389c

PR:             296311
Sponsored by:   UNIS Labs
DeltaFile
+3-3games/libretro-genesis_plus_gx/distinfo
+3-3games/libretro-genesis_plus_gx/Makefile
+6-62 files

FreeBSD/src 465a3b7sys/conf newvers.sh

newvers.sh: Avoid spurious -dirty in git revision

If git is installed and .git exists but git rev-parse failed to report a
hash we previously produced just "-dirty" as the git revision.  Gate the
git commit count and -dirty check on the rev-parse passing.

Reviewed by:    jlduran
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57995
DeltaFile
+15-13sys/conf/newvers.sh
+15-131 files

FreeBSD/ports 6e3a3b1textproc/py-mako Makefile distinfo, textproc/py-mako/files patch-setup.cfg

textproc/py-mako: Update to 1.3.12

PR:             296343
Reported by:    agh at riseup.net
DeltaFile
+6-10textproc/py-mako/Makefile
+9-0textproc/py-mako/files/patch-setup.cfg
+3-3textproc/py-mako/distinfo
+18-133 files

FreeBSD/ports 0d27c6ceditors/vscode pkg-plist distinfo, editors/vscode/files patch-node-clipboard-rs_src_lib.rs

editors/vscode: Update to 1.127.0

Changelog: https://code.visualstudio.com/updates/v1_127

Reported by:    GitHub (watch releases)
DeltaFile
+2,370-357editors/vscode/pkg-plist
+0-429editors/vscode/files/patch-node-clipboard-rs_src_lib.rs
+9-247editors/vscode/distinfo
+1-120editors/vscode/Makefile.crates
+33-77editors/vscode/Makefile
+38-41editors/vscode/Makefile.reh
+2,451-1,2718 files not shown
+2,477-1,29714 files

FreeBSD/ports 7598911devel/cmake-core Makefile

devel/cmake-core: Teach CMake to prefer our PYTHON_DEFAULT when find_package(Python3) is called

Reported by:    vvd
DeltaFile
+6-2devel/cmake-core/Makefile
+6-21 files

FreeBSD/ports e3ae063databases/ladybug distinfo Makefile, databases/ladybug/files patch-CMakeLists.txt

databases/ladybug: Update 0.16.1 => 0.18.0

Changelogs:
https://github.com/LadybugDB/ladybug/releases/tag/v0.17.0
https://github.com/LadybugDB/ladybug/releases/tag/v0.17.1
https://github.com/LadybugDB/ladybug/releases/tag/v0.18.0

PR:             296475
Sponsored by:   UNIS Labs
DeltaFile
+12-4databases/ladybug/files/patch-CMakeLists.txt
+3-3databases/ladybug/distinfo
+1-1databases/ladybug/Makefile
+16-83 files

FreeBSD/ports 6003a31emulators/wine-mono-devel distinfo Makefile

emulators/wine-mono-devel: Update to version 11.2.0
DeltaFile
+3-3emulators/wine-mono-devel/distinfo
+1-1emulators/wine-mono-devel/Makefile
+4-42 files

FreeBSD/ports a18f6edemulators/virtualbox-ose-72 distinfo Makefile, emulators/virtualbox-ose-additions-72 distinfo Makefile

emulators/virtualbox-ose{,-additions,-kmod}-72: Update 7.2.10 => 7.2.12

Changelog:
https://www.virtualbox.org/wiki/Changelog-7.2

Sponsored by:   UNIS Labs
DeltaFile
+7-7emulators/virtualbox-ose-72/distinfo
+3-3emulators/virtualbox-ose-additions-72/distinfo
+3-3emulators/virtualbox-ose-kmod-72/distinfo
+1-1emulators/virtualbox-ose-72/Makefile
+1-1emulators/virtualbox-ose-additions-72/Makefile
+1-1emulators/virtualbox-ose-kmod-72/Makefile
+16-166 files

FreeBSD/ports ec1ace3archivers/xarchiver Makefile

archivers/xarchiver: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+4-2archivers/xarchiver/Makefile
+4-21 files

FreeBSD/ports 1c76a4darchivers/xarchive Makefile

archivers/xarchive: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+4-2archivers/xarchive/Makefile
+4-21 files

FreeBSD/ports e2b5683archivers/py-comicapi Makefile

archivers/py-comicapi: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+4-1archivers/py-comicapi/Makefile
+4-11 files

FreeBSD/ports 4c7de5aarchivers/file-roller Makefile

archivers/file-roller: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+1-0archivers/file-roller/Makefile
+1-01 files

FreeBSD/ports 90ff69darchivers/ark Makefile

archivers/ark: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+3-1archivers/ark/Makefile
+3-11 files

FreeBSD/ports 85f9cb0graphics/cfdg Makefile distinfo, graphics/cfdg/files patch-Makefile

graphics/cfdg: update to 3.4.3

A bug fix release.
The build scripts now require substantially less patching!

Changelog: https://www.contextfreeart.org/downloads.html

MFH:            2026Q2
(cherry picked from commit 09106621f17a3c8e00822b7ea46a22140ac78b22)
DeltaFile
+15-51graphics/cfdg/files/patch-Makefile
+4-4graphics/cfdg/Makefile
+3-3graphics/cfdg/distinfo
+22-583 files

FreeBSD/ports 92e4a80archivers/lzma distinfo Makefile

archivers/lzma: update to 26.02

 - add 7-zip.org to MASTER_SITES as distfile not yet on Sourceforge
   (but will probably be uploaded soon)

Upstream changes:

 - Some bugs and vulnerabilities were fixed.

MFH:            2026Q2
(cherry picked from commit 2821c2b2c26f4fa71ad6a1913aca848c4caafd66)
DeltaFile
+3-3archivers/lzma/distinfo
+3-2archivers/lzma/Makefile
+6-52 files

FreeBSD/ports dd08a2darchivers/lzma distinfo Makefile

archivers/lzma: update to 26.01

Upstream changes: Some Minor fixes

(cherry picked from commit 1438927afa9fa2298ae280cacf0114c3f05e699c)
DeltaFile
+3-3archivers/lzma/distinfo
+1-1archivers/lzma/Makefile
+4-42 files

FreeBSD/ports 4e72a69security/amavisd-new Makefile

security/amavisd-new: archivers/rar[i386] is available only for i386/amd64 arches (+)

Define correct dependencies on rar only on supported arches

Approved by: portmgr blanket
DeltaFile
+3-1security/amavisd-new/Makefile
+3-11 files

FreeBSD/ports 2821c2barchivers/lzma distinfo Makefile

archivers/lzma: update to 26.02

 - add 7-zip.org to MASTER_SITES as distfile not yet on Sourceforge
   (but will probably be uploaded soon)

Upstream changes:

 - Some bugs and vulnerabilities were fixed.

MFH:            2026Q2
DeltaFile
+3-3archivers/lzma/distinfo
+3-2archivers/lzma/Makefile
+6-52 files

FreeBSD/ports 0910662graphics/cfdg Makefile distinfo, graphics/cfdg/files patch-Makefile

graphics/cfdg: update to 3.4.3

A bug fix release.
The build scripts now require substantially less patching!

Changelog: https://www.contextfreeart.org/downloads.html

MFH:            2026Q2
DeltaFile
+15-51graphics/cfdg/files/patch-Makefile
+4-4graphics/cfdg/Makefile
+3-3graphics/cfdg/distinfo
+22-583 files

FreeBSD/ports e02585bwww/pmwiki distinfo Makefile

www/pmwiki: Update 2.5.8 => 2.6.0

While here, sort USES (pet portfmt).

Changelogs:
https://www.pmwiki.org/wiki/PmWiki/ChangeLog#v260

Release Notes:
https://www.pmwiki.org/wiki/PmWiki/ReleaseNotes#v260

PR:             296482
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2

(cherry picked from commit 0ad0daa2fb3f83403f8ac398d7a157f7ee0b3cb8)
DeltaFile
+3-3www/pmwiki/distinfo
+2-2www/pmwiki/Makefile
+3-0www/pmwiki/pkg-plist
+8-53 files

FreeBSD/ports 0ad0daawww/pmwiki distinfo Makefile

www/pmwiki: Update 2.5.8 => 2.6.0

While here, sort USES (pet portfmt).

Changelogs:
https://www.pmwiki.org/wiki/PmWiki/ChangeLog#v260

Release Notes:
https://www.pmwiki.org/wiki/PmWiki/ReleaseNotes#v260

PR:             296482
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2
DeltaFile
+3-3www/pmwiki/distinfo
+2-2www/pmwiki/Makefile
+3-0www/pmwiki/pkg-plist
+8-53 files

FreeBSD/ports 96ae9f9net-p2p/transmission Makefile, net-p2p/transmission-components distinfo Makefile

net-p2p/transmission{,-components}: Update 4.1.2 => 4.1.3

Minor bugfix release, fixes a potential CRSF security issue for
users who enable remote access to Transmission.

Changelog:
https://github.com/transmission/transmission/releases/tag/4.1.3

PR:             296488
Approved by:    osa, vvd (Mentors, implicit)
MFH             2026Q2

(cherry picked from commit fcf96a0bd8ebf47ff1672c78048caaf6ee3551c1)
DeltaFile
+3-3net-p2p/transmission-components/distinfo
+1-1net-p2p/transmission-components/Makefile
+1-1net-p2p/transmission/Makefile
+5-53 files

FreeBSD/ports fcf96a0net-p2p/transmission Makefile, net-p2p/transmission-components distinfo Makefile

net-p2p/transmission{,-components}: Update 4.1.2 => 4.1.3

Minor bugfix release, fixes a potential CRSF security issue for
users who enable remote access to Transmission.

Changelog:
https://github.com/transmission/transmission/releases/tag/4.1.3

PR:             296488
Approved by:    osa, vvd (Mentors, implicit)
MFH             2026Q2
DeltaFile
+3-3net-p2p/transmission-components/distinfo
+1-1net-p2p/transmission-components/Makefile
+1-1net-p2p/transmission/Makefile
+5-53 files