sdt: Don't clear a probe's ID when disabling it
A thread may have jumped out of a tracepoint but not yet loaded the
probe ID when sdt_disable() clears it. It then calls dtrace_probe()
with ID 0, which reads far past the end of the probe array.
Leave the ID set. dtrace_probe() does nothing for a disabled probe,
and sdt_enable() sets the ID each time.
Reviewed by: markj
MFC after: 1w
Co-authored-by: Claude Opus 5.5
Differential Revision: https://reviews.freebsd.org/D62154
(cherry picked from commit ef6d8eb703b959a91c28222a20b3f3a04ba4ff1a)
amd64/sdt: Use a single NOP for disabled probes
sdt_tracepoint_restore() wrote five one-byte NOPs. A thread
interrupted between them could resume in the middle of the jump
written when the probe was next enabled, and run its displacement
as instructions. Write the single five-byte NOP that the compiler
emits for _SDT_ASM_PATCH_INSTR instead.
Reviewed by: markj
MFC after: 1w
Co-authored-by: Claude Opus 5.5
Differential Revision: https://reviews.freebsd.org/D62153
(cherry picked from commit b8180220627577c403b04de3647ac631798fdb8b)
i386/sdt: Use a single NOP for disabled probes
On i386, both _SDT_ASM_PATCH_INSTR and sdt_tracepoint_restore()
used five one-byte NOPs. Use "leal %ds:0(%esi,%eiz,1), %esi"
[12 lines not shown]
graphics/minder: Update to 3.0.0
- Application ID changed upstream to io.github.phase1geo.minder;
settings from previous versions are not migrated
- Add librsvg2 dependency
- Requires textproc/lasem 0.6.0 for MathML headers
Changelog: https://github.com/phase1geo/Minder/releases/tag/3.0.0
PR: 300792
textproc/lasem: Update to 0.6.0
- Switch to meson
- Fetch distfile from GitHub releases (upstream moved from GNOME)
- Install MathML/SVG headers (needed by graphics/minder 3.0.0)
- Enable tests
- Take maintainership for the time being
Changelog: https://github.com/LasemProject/lasem/blob/main/NEWS.md
PR: 300791
Approved by: maintainer timeout (3 weeks)
zfs: merge openzfs/zfs at 17d376863
Notable upstream pull request merges:
#19318 9a9729c0d brt: forget the vdev array when freeing iT
#19336 -multiple Disable Direct I/O nopwrite for blocks with a pending free
#19767 148f6883a Don't trust dn_maxblkid for power-of-2 blocks in
dmu_read_impl()
#19773 258d9d71f libzfs: estimate a clone's first snapshot from its origin
#19780 a45cdc032 arc_read(): allocate the read buffer before inserting the
header
#19865 81753509f dsl: preserve atomic batch snapshot destruction
#19872 -multiple FreeBSD: honour the VOP_RENAME() flags
#19812 fe2c5fe60 Don't lose available space while block clones sync
#19817 6a1475566 libzfs: FreeBSD: retry an unmount a mount update holds
busy
#19836 -multiple anyraid: fail the creation when a disk is too small or
fails to open
#19849 4bc572f2d anyraid: allow a child capacity of 65536 tiles
#19864 81c421c69 raidz: lock the full allocation during expansion
[22 lines not shown]
zfs: merge openzfs/zfs at 443d76f01
OpenZFS 2.4.5
Notable upstream pull request merges:
#18093 -multiple L2ARC: Rework write throttling with DWPD rate limiting
and parallel writes
#18179 4fa094912 Allow rewrite skip cloned and snapshotted blocks
#18310 5096951f8 Remove forced zfs_umount() from zfs_resume_fs() bail path
#18387 90b632b05 Handle raidz errors <= nparity rather than ignoring
#18718 -multiple zfs_zget and zfs_vget has inconsistent for unlink
#18812 029766eda dbuf: use dirty record size for overridden writes
#18819 -multiple ddt: fix refcount bypass and gang member leak for dedup
gang blocks
#18822 e5decdeb5 dnode_sync: Relax constraint on indirect freeing
#18826 -multiple FDT: don't extend dedup across RAIDZ expansion
#18853 6ff08fa49 Fix double free when cloning a block with a pending free
#18861 ed3ce9102 Fix out-of-bound access when resizing in receive_spill
#18897 93e458c12 arc: fix race between arc_release() and arc_read_done()
[77 lines not shown]
nfs_clnfsiod.c: Fix a race related to thread startup
This patch ensures that the new thread is handled correctly.
PR: 300581
Reviewed by: rmacklem
MFC after: 2 weeks
audio/hts_engine-API: Build a shared library, add fixes
- Install libHTSEngine.so.1 (soname as in Debian) next to the static
library, built with plain automake as upstream does, and link the
hts_engine program with it.
- Pass --prefix to configure (GNU_CONFIGURE): the port used to install
into /usr/local regardless of PREFIX.
- Fix the MSD-flag check when loading several voices, a fix upstream
committed to CVS in 2017 but never released.
- Use ftell() instead of the inside of fpos_t (from Gentoo), replacing
the FreeBSD-specific patch.
- Bound the token readers, which overflowed their stack buffers on
over-long tokens in label or voice files.
- Silence -Wall -Wextra, including fixes from Festival's bundled copy.
- Declare the label and voice-file strings the API only reads const.
- New MANPAGES option (off by default): Debian's manual page (GPLv2+).
PR: 301473
Approved by: Hideki Gotoh <tomason510 at gmail.com> (maintainer)
Co-Authored-By: Claude Opus 5.5 (effort medium)
audio/festival: Update 2.4 => 2.5.1
Build from upstream's latest commit against the new audio/speech_tools,
instead of building the Edinburgh Speech Tools along with festival from
their separate distfile -- and with textproc/rxp instead of the XML
parser bundled with them. The patches to the speech tools, and those
already included upstream, are gone.
Other changes:
- the HTS engine is that of audio/hts_engine-API: the bundled copy is
not even extracted. Festival links with its shared library; the
glue and clustergen, which use the engine's internals, take
HTS_hidden.h and HTS_vocoder.c from that port's source, and are
adapted to its version, 1.10;
- the library directory is compiled in, so the festival.naked and
festival_client.naked binaries and their wrapper scripts are gone;
audsp is found in libexec/festival;
- text2wave, festival_server and festival_server_control (with the
man page of text2wave) are installed too, as are the example
[19 lines not shown]
mail/stalwart: update to 1.2.3
PR: 301458,301483
- Update to 1.2.3
- Add FOUNDATIONDB option back
- Use SPDX license identifiers
- Show the upgrade message when upgrading from 1.2.1_1
nfscl: Remove cruft for NFSv4.0 callbacks
Commit 71ac1ec5c9d9 disabled callbacks for NFSv4.0.
This commit cleans up cruft related to NFSv4.0 callbacks.
Since callbacks are disabled for NFSv4.0, this patch
should not have any semantics effect.
A future commit will clean up the nfscbd(8) daemon.
MFC after: 2 weeks
ObsoleteFiles.inc: Correct two old paths
At the time we retired the cp(4) driver, we still had per-arch man
subdirectories.
Fixes: 895992bb66d2 ("retire cp(4) driver")
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D62503
www/elinks: Update 0.20.0 => 0.20.1
Changelog:
https://github.com/rkd77/elinks/releases/tag/v0.20.1
Port Changes:
- Removed SIXEL option, upstream replaced it with their own sixel code.
- Disabled QuickJSNG option for now, as it requires v0.18.0 and ports
only has v0.17.0.
PR: 301528
comms/xastir: Update to 2.2.6
Since Release 2.2.4 we have made the following improvements:
* The map border can now be rendered with anti-aliased fonts through
Cairo if the cairo library is detected when the code is
configured. This makes the border text much more readable on
modern high-resolution displays. (#364)
Cairo is automatically used if the library is found,
but can be disabled even if the library is present by specifying
"--without-cairo" at configure time.
The autoconf test that checks for cairo depends on pkgconfig
through the `PKG_PROG_PKG_CONFIG` macro installed by that package.
If the macro is not found at the time that configure is generated
by autoreconf or bootstrap, or the program it tries to detect
doesn't exist at the time configure is run, it is assumed that
cairo is not to be used.
[91 lines not shown]