FreeBSD/src 3734034sys/net iflib.c

iflib: Add a missing CURVNET_RESTORE() in the error path

Signed-off-by:  Peter Ganzhorn <peter.ganzhorn at gmail.com>
Reviewed by:    zlei
Fixes:          6d49b41ee84b iflib: Add pfil hooks
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2150

(cherry picked from commit f49f61f19463c21125bb1215cf8e0530f52953e3)
(cherry picked from commit d11419ed37a61a4896381f91fd942c4fff2e66dd)
DeltaFile
+3-1sys/net/iflib.c
+3-11 files

LLVM/project c7812f6llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 copyable-repeated-operand-partial-commutativity.ll

[SLP] Fix crash from repeated operand with mixed commutativity

A value used as both a commutable and non-commutable operand of the
same call got double-counted in dependency tracking, adding a
dependency scheduling never releases and tripping an assertion.

Fixes #209005

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/209067
DeltaFile
+28-0llvm/test/Transforms/SLPVectorizer/X86/copyable-repeated-operand-partial-commutativity.ll
+3-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+31-02 files

LLVM/project 7d24dfalld/docs ReleaseNotes.rst

ReleaseNotes: add lld/ELF notes (#209066)

Summarize `git log origin/release/22.x..main` entries, excluding
cherry-picked notes `git rev-list main..origin/release/22.x -- lld/ELF`,
following the style of my previous release notes.
DeltaFile
+81-1lld/docs/ReleaseNotes.rst
+81-11 files

FreeBSD/ports cfd637cmisc/thefuck Makefile, misc/thefuck/files patch-thefuck_conf.py patch-thefuck_types.py

misc/thefuck: Fix runtime with Python 3.12

The old `imp` library was deprecated and is now removed in 3.12; switch
to importlib.

PR:             296596
Sponsored by:   UNIS Labs
MFH:            2026Q3

(cherry picked from commit d07c24fc3fcb4e52dcc09e7c0e6ebad99556d42f)
DeltaFile
+24-0misc/thefuck/files/patch-thefuck_conf.py
+13-0misc/thefuck/files/patch-thefuck_types.py
+1-1misc/thefuck/Makefile
+38-13 files

FreeBSD/src c3f6c65share/man/man9 sbintime.9 Makefile

Add sbintime.9 manual page

sbintime.9 is a manual page that documents the usage of sbintime_t and
its helper functions.

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57931
DeltaFile
+171-0share/man/man9/sbintime.9
+14-0share/man/man9/Makefile
+3-2share/man/man9/callout.9
+2-1share/man/man9/microtime.9
+190-34 files

FreeBSD/ports d07c24fmisc/thefuck Makefile, misc/thefuck/files patch-thefuck_conf.py patch-thefuck_types.py

misc/thefuck: Fix runtime with Python 3.12

The old `imp` library was deprecated and is now removed in 3.12; switch
to importlib.

PR:             296596
Sponsored by:   UNIS Labs
MFH:            2026Q3
DeltaFile
+24-0misc/thefuck/files/patch-thefuck_conf.py
+13-0misc/thefuck/files/patch-thefuck_types.py
+1-1misc/thefuck/Makefile
+38-13 files

FreeBSD/ports ba5ed71graphics/openshadinglanguage/files patch-src_liboslexec_llvm__util.cpp patch-src_liboslcomp_oslcomp.cpp

graphics/openshadinglanguage: Fix build with LLVM22

Get patches from upstream:
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/7bcf83eb859b4ce7ffcc599835ec2e6058fbd12f
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/pull/2086

https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/1a72c471fed2aeb18c4e58f9035b56f55c250185
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/pull/2124

While here refresh patches.

PR:             296378
Approved by:    Shane <FreeBSD at ShaneWare.Biz> (maintainer, timeout 2 weeks)
Sponsored by:   UNIS Labs
DeltaFile
+47-0graphics/openshadinglanguage/files/patch-src_liboslexec_llvm__util.cpp
+18-0graphics/openshadinglanguage/files/patch-src_liboslcomp_oslcomp.cpp
+12-0graphics/openshadinglanguage/files/patch-src_cmake_modules_FindLLVM.cmake
+11-0graphics/openshadinglanguage/files/patch-src_cmake_externalpackages.cmake
+4-4graphics/openshadinglanguage/files/patch-src_liboslquery_py__osl.h
+3-3graphics/openshadinglanguage/files/patch-src_shaders_CMakeLists.txt
+95-71 files not shown
+97-97 files

FreeBSD/ports e25e299x11-fonts/xfsinfo Makefile distinfo

x11-fonts/xfsinfo: Update to 1.0.8

Update WWW and pkg-descr.
Fix USE_XORG.

https://lists.x.org/archives/xorg-announce/2022-October/003238.html
https://lists.x.org/archives/xorg-announce/2025-July/003619.html

PR:             287797
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+4-7x11-fonts/xfsinfo/Makefile
+3-3x11-fonts/xfsinfo/distinfo
+5-1x11-fonts/xfsinfo/pkg-descr
+12-113 files

FreeBSD/ports 968f671x11/xgc distinfo Makefile

x11/xgc: Update to 1.0.7

https://lists.x.org/archives/xorg-announce/2025-July/003621.html

PR:             290184
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+3-3x11/xgc/distinfo
+1-1x11/xgc/Makefile
+4-42 files

FreeBSD/ports 2e17549x11/xgamma Makefile pkg-descr

x11/xgamma: Update to 1.0.8

Add WWW and update pkg-descr.

https://lists.x.org/archives/xorg-announce/2025-July/003620.html

PR:             289286
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+3-4x11/xgamma/Makefile
+5-2x11/xgamma/pkg-descr
+3-3x11/xgamma/distinfo
+11-93 files

LLVM/project c847ddflld/ELF Writer.cpp, lld/unittests/AsLibELF OutputStream.cpp CMakeLists.txt

[ELF] Write the output to lld::outs() when -o is - (#209064)

When the output file is "-", write the image to lld::outs() (the
stdoutOS
argument of lld::elf::link()) instead of committing the
FileOutputBuffer,
which writes to the process's stdout. This lets lld used as a library
capture
the output in a raw_ostream without an open syscall.

This reimplements the stale #72061 and adds a unittest.
DeltaFile
+35-0lld/unittests/AsLibELF/OutputStream.cpp
+8-1lld/ELF/Writer.cpp
+1-0lld/unittests/AsLibELF/CMakeLists.txt
+44-13 files

FreeBSD/ports cdc60ddx11/libXres Makefile distinfo

x11/libXres: Update to 1.2.3

Update WWW and pkg-descr.

https://lists.x.org/archives/xorg-announce/2025-September/003628.html

PR:             289688
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+3-5x11/libXres/Makefile
+3-3x11/libXres/distinfo
+4-1x11/libXres/pkg-descr
+10-93 files

FreeBSD/ports c50f108x11/libXpresent distinfo Makefile

x11/libXpresent: Update to 1.0.2

https://lists.x.org/archives/xorg-announce/2025-September/003627.html

PR:             289775
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+3-3x11/libXpresent/distinfo
+1-1x11/libXpresent/Makefile
+4-42 files

FreeBSD/ports ef85c9ax11/libXfixes distinfo pkg-descr

x11/libXfixes: Update to 6.0.2

Update pkg-descr.

https://lists.x.org/archives/xorg-announce/2025-September/003626.html

PR:             289580
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+3-3x11/libXfixes/distinfo
+3-1x11/libXfixes/pkg-descr
+2-1x11/libXfixes/Makefile
+8-53 files

FreeNAS/freenas 106801csrc/freenas/usr/libexec/netdata/python.d truenas_arcstats.chart.py

Add /s suffix to per-second ARC/L2ARC chart units

## Problem
Eight ARC/L2ARC charts in truenas_arcstats.chart.py (dmhit, dmioh, dmmis, l2hits, l2miss, l2read, l2bytes, l2wbytes) use netdata's incremental algorithm, which plots the counter delta divided by the collection interval, i.e. a per-second rate. Their units strings were bare names (e.g. l2bytes) with no /s, so the label read like a raw total even though the value is a rate. This was inconsistent with the sibling incremental charts (dread, ddread, dmread, ddhit, ddioh, ddmis) that already use /s, and with the chart context strings that already say "per second".

## Solution
Appended /s to the units string of those eight charts so every incremental chart's units label reflects the per-second rate it actually plots. Label-only change; the plotted values are unaffected, and there is no user-facing regression since the TrueNAS UI sources its axis labels from the reporting graphs' vertical_label, not from this netdata units field.
DeltaFile
+8-8src/freenas/usr/libexec/netdata/python.d/truenas_arcstats.chart.py
+8-81 files

FreeBSD/ports 2c7ca2fx11/libXScrnSaver Makefile pkg-descr

x11/libXScrnSaver: Update to 1.2.5

Update COMMENT, WWW, and pkg-descr.

https://lists.x.org/archives/xorg-announce/2025-September/003629.html

PR:             289657
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+5-7x11/libXScrnSaver/Makefile
+6-2x11/libXScrnSaver/pkg-descr
+3-3x11/libXScrnSaver/distinfo
+14-123 files

FreeBSD/ports 9bbcb45x11-fonts/font-bh-100dpi Makefile distinfo

x11-fonts/font-bh-100dpi: Update to 1.0.4

Update WWW and pkg-descr.
Add LICENSE.

https://lists.x.org/archives/xorg-announce/2023-February/003341.html

PR:             288398
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+8-4x11-fonts/font-bh-100dpi/Makefile
+3-2x11-fonts/font-bh-100dpi/distinfo
+4-1x11-fonts/font-bh-100dpi/pkg-descr
+15-73 files

OpenBSD/src oanfoKrusr.sbin/smtpd queue_backend.c

   unlink the transformed temporary file on every commit failure

   queue_message_commit() left the .comp/.enc temporary behind on an ENOSPC
   rename failure and on the shared err path, so repeatedly triggering
   transform or out-of-space failures accumulated orphaned files.  unlink
   tmppath on all of those paths.

   from Andrew Griffiths, ok op@
VersionDeltaFile
1.71+6-7usr.sbin/smtpd/queue_backend.c
+6-71 files

FreeBSD/ports d48bc03x11-fonts/font-arabic-misc Makefile distinfo

x11-fonts/font-arabic-misc: Update to 1.0.4

Update WWW and pkg-descr.
Add LICENSE.

https://lists.x.org/archives/xorg-announce/2023-February/003340.html

PR:             288377
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+6-4x11-fonts/font-arabic-misc/Makefile
+3-2x11-fonts/font-arabic-misc/distinfo
+3-1x11-fonts/font-arabic-misc/pkg-descr
+12-73 files

OpenBSD/src 3NoI08kusr.sbin/smtpd mda_mbox.c

   reject empty or slash-bearing usernames before building the mbox path

   mda_mbox_init() builds _PATH_MAILDIR/username and creates and chowns it as
   root.  the username comes from K_USERINFO table data, which is not checked
   for slashes, so a dynamic userbase returning a slashed username could make
   root create a path outside the mailbox namespace. in practice, it does not
   affect default userbase which goes through getpwnam(), and it requires the
   admin to voluntarily create a badly crafted username in the userbase.

   from Andrew Griffiths (fixed by me), ok op@
VersionDeltaFile
1.4+7-2usr.sbin/smtpd/mda_mbox.c
+7-21 files

FreeNAS/freenas 4b94c46src/middlewared/middlewared/plugins/reporting/netdata graphs.py

Fix UPS Input Load graph showing Watts on a percentage axis

## Problem
The "UPS Input Load" report has `vertical_label = 'Percentage'` but pointed `get_chart_name()` at Netdata's `upsd_<id>.load_usage` chart, whose units are Watts (`ups.realpower`, or `ups.load/100 × ups.realpower.nominal`). So the graph rendered absolute power draw (e.g. ~117W for a ~30% load on a 390W UPS) under a "Percentage" axis. This regressed in the python.d→go.d Netdata migration, which renamed the chart from `nut_<id>.load` to `load_usage` without updating the label — the migration picked the wrong sibling chart.

## Solution
Point the chart at `upsd_<id>.load_percentage` (units: percentage), which maps to the raw NUT `ups.load` variable and matches both the existing label and title. This chart is gated on the same `ups.load` variable as `load_usage`, so it's available under identical conditions, and it populates even on UPSes that don't report realpower — where `load_usage` would be empty.
DeltaFile
+1-1src/middlewared/middlewared/plugins/reporting/netdata/graphs.py
+1-11 files

OpenBSD/src w91V28Husr.sbin/smtpd enqueue.c

   reject CR and LF in argv-derived fields before starting the SMTP dialogue

   enqueue interpolates the sender, recipients and DSN options straight into
   MAIL FROM / RCPT TO command lines.  an embedded CR or LF split the command
   boundary and injected additional SMTP commands over the local session, so
   refuse any such field up front.

   from Andrew Griffiths (fixed by me), ok op@
VersionDeltaFile
1.127+21-1usr.sbin/smtpd/enqueue.c
+21-11 files

LLVM/project b6e77d6clang/unittests/ScalableStaticAnalysis/Analyses/OperatorNewDelete OperatorNewDeletePointersExtractorTest.cpp

[Clang][Test] Fix -Wctad-maybe-unsupported in OperatorNewDeletePointersExtractorTest.cpp (#209012)

Fix warning: `'std::set' may not intend to support class template
argument deduction [-Wctad-maybe-unsupported]`, which is error under
-Werror.
std::set{*PtrId} does implicitly deduce to std::set<EntityId>, but it
is not explicit or user-defined CATD guide. Opt-in warning
-Wctad-maybe-unsupported flags it as maybe unsafe and unintended. The
warning is enabled at
https://github.com/llvm/llvm-project/blob/9083925dadb4/llvm/cmake/modules/HandleLLVMOptions.cmake#L977
Relates to #206600.
DeltaFile
+6-6clang/unittests/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointersExtractorTest.cpp
+6-61 files

OpenBSD/src ZfAqP4husr.sbin/smtpd mta.c

   free the copied envelope on the smarthost lookup failure path

   mta_on_smarthost() frees the malloc'd envelope on success, but the
   smarthost == NULL branch tempfailed the message and returned without
   freeing it, leaking a struct envelope per failed lookup.

   from Andrew Griffiths, ok op@
VersionDeltaFile
1.249+2-1usr.sbin/smtpd/mta.c
+2-11 files

OpenBSD/src CZZ66B2usr.sbin/smtpd mda.c

   free mda_subaddress in mda_envelope_free()

   mda_envelope() duplicates the subaddress with xstrdup() when present but
   mda_envelope_free() never released it, leaking one bounded string per
   subaddressed local delivery.

   from Andrew Griffiths, ok op@
VersionDeltaFile
1.148+2-1usr.sbin/smtpd/mda.c
+2-11 files

OpenBSD/src fg8haRjusr.sbin/smtpd compress_gzip.c

   use inflateEnd() to tear down the inflate stream in uncompress_gzip_chunk()

   the decompression path sets up the stream with inflateInit2() but the
   cleanup block called deflateEnd(), mismatching the zlib inflate/deflate
   APIs and leaking the stream state on every gzip queue read.

   from Andrew Griffiths, ok op@
VersionDeltaFile
1.14+2-2usr.sbin/smtpd/compress_gzip.c
+2-21 files

FreeNAS/freenas cc6ddc0src/middlewared/middlewared/plugins boot.py, src/middlewared/middlewared/plugins/boot __init__.py format.py

Convert boot plugin to typesafe pattern

## Problem
The boot service was old-style dict-based code spread across three files (boot.py, boot_/format.py, boot_/boot_loader.py) that all declared the same BootService, so the framework silently merged them into a CompoundService. None of it was type-checked end to end, and every in-process consumer reached it through untyped string middleware.call('boot.*').

## Solution
- Consolidate everything into a single plugins/boot/ package using the port pattern: a lean BootService in __init__.py that delegates to plain, fully type-annotated module functions in disks.py/format.py/pool_ops.py, with @api_method(check_annotations=True) public methods and @private stubs. boot.get_state now returns a BootGetState model; internal callers use a dict state helper so nothing breaks on attribute-vs-key access.
- Register boot in main.py's ServiceContainer and have it own boot.environment as a sub-service, replacing BootServicesContainer.
- Expose the boot-pool name/disks cache through accessor functions instead of a module global. This also fixes a latent bug where libvirt/cdrom.py imported the global at module load (before setup runs), bound it to None, and so never filtered the boot pool out of CDROM path validation.
- Convert every same-process boot.* string call to typed call2/call_sync2 across sysdataset, zfs_events, disk, failover, and the zpool/audit/tunable/update/system_advanced plugins, the alert sources, and the cron/fstab makos, keeping each site's sync/async flavour.
- Keep the private update_initramfs/format models in the plugin (check_model_module requires private-method models to live there, not in the api package) and import them lazily from consumers, otherwise pulling boot/__init__ into the early service-init chain deadlocks on a partially-initialised middlewared.service.
- Add plugins/boot/ to mypy.yml.
DeltaFile
+0-372src/middlewared/middlewared/plugins/boot.py
+180-0src/middlewared/middlewared/plugins/boot/__init__.py
+160-0src/middlewared/middlewared/plugins/boot/format.py
+159-0src/middlewared/middlewared/plugins/boot/pool_ops.py
+0-115src/middlewared/middlewared/plugins/boot_/format.py
+86-0src/middlewared/middlewared/plugins/boot/disks.py
+585-48746 files not shown
+789-60052 files

OpenBSD/src QkDm6zrusr.sbin/smtpd dns.c spfwalk.c

   stop parsing DNS answers once unpack_rr() reports failure

   the MX, MX-preference and spf walkers looped on the attacker-controlled
   ancount calling unpack_rr() without checking its return, processing stale
   or uninitialized rr contents on malformed or truncated replies.  break out
   of the loop as soon as unpack_rr() fails.

   from Andrew Griffiths, ok op@
VersionDeltaFile
1.93+5-3usr.sbin/smtpd/dns.c
1.21+2-2usr.sbin/smtpd/spfwalk.c
+7-52 files

FreeBSD/src 4830670bin/chflags chflags.1

chflags.1: Document the new UF_DONTCACHE flag

Commit 74654ba3b1b3 added and new chflags(1) flag called
"udontcache" or "dontcache".  This patch documents this flag.

This is a content change.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D58181
DeltaFile
+3-1bin/chflags/chflags.1
+3-11 files

FreeBSD/src 74654balib/libc/gen strtofflags.c, sys/fs/tmpfs tmpfs_subr.c

chflags: Add a new UF_DONTCACHE flag

This internet draft (which is close to being an RFC)
specifies a new NFSv4.2 attribute which tells the NFSv4.2
client to not cache file data. (Similar to O_DIRECT, but
triggered by this attribute set on the file on the NFSv4.2
server and not by the application's open(2).)

https://datatracker.ietf.org/doc/draft-ietf-nfsv4-uncacheable-files/

This patch adds a new chflags(1) flag called UF_DONTCACHE to
implement this.

Patches for NFS and ZFS will be done separately.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D58181
DeltaFile
+3-1lib/libc/gen/strtofflags.c
+1-1sys/fs/tmpfs/tmpfs_subr.c
+1-1sys/ufs/ufs/ufs_vnops.c
+1-0sys/sys/stat.h
+6-34 files