HardenedBSD/src a99b45elib/libcasper/libcasper zygote.c libcasper.c, lib/libsys pdfork.2

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+11-0lib/libsys/pdfork.2
+7-1sys/kern/kern_fork.c
+1-1lib/libcasper/libcasper/zygote.c
+1-1lib/libcasper/libcasper/libcasper.c
+2-0sys/dev/ntsync/ntsync.c
+22-35 files

HardenedBSD/src 16b0030lib/libcasper/libcasper zygote.c libcasper.c, lib/libsys pdfork.2

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+11-0lib/libsys/pdfork.2
+7-1sys/kern/kern_fork.c
+1-1lib/libcasper/libcasper/zygote.c
+1-1lib/libcasper/libcasper/libcasper.c
+2-0sys/dev/ntsync/ntsync.c
+22-35 files

HardenedBSD/ports 1ae9687databases/pgterm Makefile.crates distinfo, graphics/tiled Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+2,372-0www/redmine70/pkg-plist
+169-13databases/pgterm/distinfo
+162-0www/redmine70/files/patch-Gemfile
+149-0www/redmine70/Makefile
+81-20graphics/tiled/Makefile
+83-5databases/pgterm/Makefile.crates
+3,016-3878 files not shown
+3,536-17884 files

LLVM/project faa60cforc-rt/lib/bedrock Session.cpp, orc-rt/lib/support Logging.cpp Logging_oslog.cpp

[orc-rt] Wrap C API implementation in `extern "C" {..}` blocks (#222846)

Adopt a consistent style for C API implementation: A banner comment and
an `extern "C" { ... }` block around the definitions.
DeltaFile
+13-11orc-rt/lib/support/Error.cpp
+9-4orc-rt/lib/bedrock/Session.cpp
+8-3orc-rt/lib/support/Logging_printf.cpp
+7-2orc-rt/lib/support/Logging_oslog.cpp
+6-0orc-rt/lib/support/Logging.cpp
+43-205 files

LLVM/project ab93883llvm/lib/Target/SPIRV SPIRVLegalizeImplicitBinding.cpp

[SPIRV] Refactor implicit binding legalization (#221662)

This change rewrites the `SPIRVLegalizeImplicitBinding` pass so that
binding collection is driven by intrinsic declarations rather than a
full-module instruction walk.

Previously, the pass used an `InstVisitor` to visit every instruction in
the module and find calls to a small set of intrinsics. The new
implementation iterates over the intrinsic declarations and their users,
making the cost proportional to the number of relevant resource calls
rather than the size of the module.

There is no change to the SPIR-V emitted for existing shaders. Implicit
bindings are still assigned the same numbers.

Other improvements include:

- Order IDs are extracted once into a `SmallVector` instead of being
recomputed on each sort comparisons.

    [11 lines not shown]
DeltaFile
+154-163llvm/lib/Target/SPIRV/SPIRVLegalizeImplicitBinding.cpp
+154-1631 files

LLVM/project 79775dallvm/lib/Transforms/Vectorize VPlanUtils.h VPlanUtils.cpp, llvm/unittests/Transforms/Vectorize VPlanTest.cpp

[VPlan] Add vputils::reconstructSSA (#212209)

Adds a simple implementation of the algorithm described in "Simple and
Efficient SSA Construction" by Braun et al.
https://www.researchgate.net/publication/236997796_Simple_and_Efficient_Construction_of_Static_Single_Assignment_Form

This can be used to reconstruct SSA form whenever the control flow graph
is changed, which #201784 plans to use to model predicated early exiting
conditions.

Added three unit tests for now which should exercise all the code paths,
including what happens when there's a cycle.
DeltaFile
+306-0llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
+39-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+9-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+354-03 files

LLVM/project 06a26f2clang/lib/Sema SemaAPINotes.cpp, clang/test/APINotes swift-import-as.cpp swift-attr-redeclaration.cpp

[clang][APINotes] Apply API notes 'swift_attr's idempotently (#222526)
DeltaFile
+46-0clang/test/APINotes/swift-attr-redeclaration.cpp
+17-20clang/lib/Sema/SemaAPINotes.cpp
+7-5clang/test/APINotes/swift-import-as.cpp
+70-253 files

FreeBSD/ports d68a0efdevel/py-inotify-simple Makefile, devel/py-inotify-simple/files patch-inotify__simple.py

devel/py-inotify-simple: use native inotify on FreeBSD 15+

FreeBSD 15 (OSVERSION >= 1500051) provides native inotify in libc.
Use native libc on FreeBSD 15+ and Linux; fall back to libinotify on
older FreeBSD releases which require the kqueue-based emulation.

Remove unconditional LIB_DEPENDS on libinotify and make it conditional
using the bsd.port.pre.mk/bsd.port.post.mk split.

PR:             ports/294447
Approved by:    maintainer timeout
DeltaFile
+10-3devel/py-inotify-simple/files/patch-inotify__simple.py
+8-3devel/py-inotify-simple/Makefile
+18-62 files

HardenedBSD/ports d68a0efdevel/py-inotify-simple Makefile, devel/py-inotify-simple/files patch-inotify__simple.py

devel/py-inotify-simple: use native inotify on FreeBSD 15+

FreeBSD 15 (OSVERSION >= 1500051) provides native inotify in libc.
Use native libc on FreeBSD 15+ and Linux; fall back to libinotify on
older FreeBSD releases which require the kqueue-based emulation.

Remove unconditional LIB_DEPENDS on libinotify and make it conditional
using the bsd.port.pre.mk/bsd.port.post.mk split.

PR:             ports/294447
Approved by:    maintainer timeout
DeltaFile
+10-3devel/py-inotify-simple/files/patch-inotify__simple.py
+8-3devel/py-inotify-simple/Makefile
+18-62 files

FreeBSD/src a8a6eacsys/compat/linux linux_misc.h linux_misc.c

linux: implement prctl PR_{G,S}ET_THP_DISABLE

Since we don't have THP in FreeBSD, return that it's disabled. Linux
applications use this to get around the weird latency spikes THP in
Linux creates. Since FreeBSD superpages don't suffer from this issue,
just say it's disabled.

This removes the noisiest noise from the linux claude running on
FreeBSD.

Sponsored by:           Netflix
DeltaFile
+18-0sys/compat/linux/linux_misc.c
+2-0sys/compat/linux/linux_misc.h
+20-02 files

HardenedBSD/src a8a6eacsys/compat/linux linux_misc.h linux_misc.c

linux: implement prctl PR_{G,S}ET_THP_DISABLE

Since we don't have THP in FreeBSD, return that it's disabled. Linux
applications use this to get around the weird latency spikes THP in
Linux creates. Since FreeBSD superpages don't suffer from this issue,
just say it's disabled.

This removes the noisiest noise from the linux claude running on
FreeBSD.

Sponsored by:           Netflix
DeltaFile
+18-0sys/compat/linux/linux_misc.c
+2-0sys/compat/linux/linux_misc.h
+20-02 files

FreeBSD/src a259b98sbin/bectl/tests bectl_test.sh, sbin/nvmecontrol/tests basic.sh

tests: skip gracefully when the tested binary's own package isn't installed

pkgbase splits programs and their tests into separate packages (e.g.
unifdef/yacc/indent/file2c -> toolchain, jail -> jail, etc), while their
tests always land in the generic tests package.  Installing just the
tests package therefore leaves these suites unable to find the binary
they exercise, and they fail confusingly instead of skipping.

Rather than force all packages to be installed for the tests package,
make the tests cope with the missing packages.  Add require.progs (or,
for TAP/PLAIN-style suites with no atf_set hook: TEST_METADATA
required_programs) for the binary under test in: bectl, certctl,
ctfconvert, dhclient, file2c, indent, ipfw, jail, lastcomm, mixer,
newsyslog, nvmecontrol, pfctl, praudit, sa, syslogd, tunefs, unifdef,
yacc, ztest.

I skipped adding data for all the binaries in the base runtime
package for simplicity.


    [4 lines not shown]
DeltaFile
+16-0usr.sbin/syslogd/tests/syslogd_test.sh
+10-1sbin/bectl/tests/bectl_test.sh
+10-0usr.sbin/praudit/tests/praudit_test.sh
+10-0sbin/nvmecontrol/tests/basic.sh
+7-1usr.sbin/jail/tests/jail_basic_test.sh
+6-0usr.sbin/certctl/tests/certctl_test.sh
+59-215 files not shown
+93-221 files

HardenedBSD/src a259b98sbin/bectl/tests bectl_test.sh, sbin/nvmecontrol/tests basic.sh

tests: skip gracefully when the tested binary's own package isn't installed

pkgbase splits programs and their tests into separate packages (e.g.
unifdef/yacc/indent/file2c -> toolchain, jail -> jail, etc), while their
tests always land in the generic tests package.  Installing just the
tests package therefore leaves these suites unable to find the binary
they exercise, and they fail confusingly instead of skipping.

Rather than force all packages to be installed for the tests package,
make the tests cope with the missing packages.  Add require.progs (or,
for TAP/PLAIN-style suites with no atf_set hook: TEST_METADATA
required_programs) for the binary under test in: bectl, certctl,
ctfconvert, dhclient, file2c, indent, ipfw, jail, lastcomm, mixer,
newsyslog, nvmecontrol, pfctl, praudit, sa, syslogd, tunefs, unifdef,
yacc, ztest.

I skipped adding data for all the binaries in the base runtime
package for simplicity.


    [4 lines not shown]
DeltaFile
+16-0usr.sbin/syslogd/tests/syslogd_test.sh
+10-1sbin/bectl/tests/bectl_test.sh
+10-0usr.sbin/praudit/tests/praudit_test.sh
+10-0sbin/nvmecontrol/tests/basic.sh
+7-1usr.sbin/jail/tests/jail_basic_test.sh
+6-0sbin/tunefs/tests/tunefs_test.sh
+59-215 files not shown
+93-221 files

FreeBSD/ports b07718cwww/redmine70 bsd.redmine.mk Makefile, www/redmine70/files patch-config_database.yml.sample redmine.in

www/redmine70: add port

Redmine 7.0.1, a flexible project management web application.
This version uses Rails 8.1.
DeltaFile
+2,372-0www/redmine70/pkg-plist
+162-0www/redmine70/files/patch-Gemfile
+149-0www/redmine70/Makefile
+78-0www/redmine70/bsd.redmine.mk
+40-0www/redmine70/files/redmine.in
+39-0www/redmine70/files/patch-config_database.yml.sample
+2,840-012 files not shown
+2,904-018 files

HardenedBSD/ports b07718cwww/redmine70 bsd.redmine.mk Makefile, www/redmine70/files patch-config_database.yml.sample redmine.in

www/redmine70: add port

Redmine 7.0.1, a flexible project management web application.
This version uses Rails 8.1.
DeltaFile
+2,372-0www/redmine70/pkg-plist
+162-0www/redmine70/files/patch-Gemfile
+149-0www/redmine70/Makefile
+78-0www/redmine70/bsd.redmine.mk
+40-0www/redmine70/files/redmine.in
+39-0www/redmine70/files/patch-config_database.yml.sample
+2,840-012 files not shown
+2,904-018 files

FreeBSD/ports 81cc9aatextproc Makefile, textproc/rubygem-actionpack-xml_parser-rails81 pkg-descr distinfo

textproc/rubygem-actionpack-xml_parser-rails81: add port

XML parameters parser for Action Pack, for Rails 8.1.
DeltaFile
+22-0textproc/rubygem-actionpack-xml_parser-rails81/Makefile
+3-0textproc/rubygem-actionpack-xml_parser-rails81/distinfo
+2-0textproc/rubygem-actionpack-xml_parser-rails81/pkg-descr
+1-0textproc/Makefile
+28-04 files

HardenedBSD/ports 81cc9aatextproc Makefile, textproc/rubygem-actionpack-xml_parser-rails81 pkg-descr distinfo

textproc/rubygem-actionpack-xml_parser-rails81: add port

XML parameters parser for Action Pack, for Rails 8.1.
DeltaFile
+22-0textproc/rubygem-actionpack-xml_parser-rails81/Makefile
+3-0textproc/rubygem-actionpack-xml_parser-rails81/distinfo
+2-0textproc/rubygem-actionpack-xml_parser-rails81/pkg-descr
+1-0textproc/Makefile
+28-04 files

FreeBSD/ports 488e193devel Makefile, devel/rubygem-with_advisory_lock81 pkg-descr distinfo

devel/rubygem-with_advisory_lock81: add port

Advisory locking for ActiveRecord, for Rails 8.1.
DeltaFile
+21-0devel/rubygem-with_advisory_lock81/Makefile
+3-0devel/rubygem-with_advisory_lock81/distinfo
+2-0devel/rubygem-with_advisory_lock81/pkg-descr
+1-0devel/Makefile
+27-04 files

HardenedBSD/ports 488e193devel Makefile, devel/rubygem-with_advisory_lock81 pkg-descr distinfo

devel/rubygem-with_advisory_lock81: add port

Advisory locking for ActiveRecord, for Rails 8.1.
DeltaFile
+21-0devel/rubygem-with_advisory_lock81/Makefile
+3-0devel/rubygem-with_advisory_lock81/distinfo
+2-0devel/rubygem-with_advisory_lock81/pkg-descr
+1-0devel/Makefile
+27-04 files

FreeBSD/ports ea7159amail Makefile, mail/rubygem-roadie-rails-rails81 pkg-descr distinfo

mail/rubygem-roadie-rails-rails81: add port

Roadie integration for generating HTML emails in Rails 8.1.
DeltaFile
+23-0mail/rubygem-roadie-rails-rails81/Makefile
+3-0mail/rubygem-roadie-rails-rails81/distinfo
+2-0mail/rubygem-roadie-rails-rails81/pkg-descr
+1-0mail/Makefile
+29-04 files

HardenedBSD/ports ea7159amail Makefile, mail/rubygem-roadie-rails-rails81 pkg-descr distinfo

mail/rubygem-roadie-rails-rails81: add port

Roadie integration for generating HTML emails in Rails 8.1.
DeltaFile
+23-0mail/rubygem-roadie-rails-rails81/Makefile
+3-0mail/rubygem-roadie-rails-rails81/distinfo
+2-0mail/rubygem-roadie-rails-rails81/pkg-descr
+1-0mail/Makefile
+29-04 files

FreeBSD/ports 4a9383bdevel Makefile, devel/rubygem-bullet-rails81 Makefile

devel/rubygem-bullet-rails81: add port

N+1 query detector for Rails 8.1.
DeltaFile
+7-0devel/rubygem-bullet-rails81/Makefile
+1-0devel/Makefile
+8-02 files

HardenedBSD/ports 4a9383bdevel Makefile, devel/rubygem-bullet-rails81 Makefile

devel/rubygem-bullet-rails81: add port

N+1 query detector for Rails 8.1.
DeltaFile
+7-0devel/rubygem-bullet-rails81/Makefile
+1-0devel/Makefile
+8-02 files

FreeBSD/ports 714baffwww Makefile, www/rubygem-requestjs-rails-rails81 Makefile

www/rubygem-requestjs-rails-rails81: add port

Tiny Fetch API wrapper for Rails 8.1 with CSRF token handling.
DeltaFile
+7-0www/rubygem-requestjs-rails-rails81/Makefile
+1-0www/Makefile
+8-02 files

HardenedBSD/ports 714baffwww Makefile, www/rubygem-requestjs-rails-rails81 Makefile

www/rubygem-requestjs-rails-rails81: add port

Tiny Fetch API wrapper for Rails 8.1 with CSRF token handling.
DeltaFile
+7-0www/rubygem-requestjs-rails-rails81/Makefile
+1-0www/Makefile
+8-02 files

FreeBSD/ports 2132257security Makefile, security/rubygem-doorkeeper-i18n-rails81 Makefile

security/rubygem-doorkeeper-i18n-rails81: add port

Doorkeeper i18n translations for Rails 8.1.
DeltaFile
+7-0security/rubygem-doorkeeper-i18n-rails81/Makefile
+1-0security/Makefile
+8-02 files

HardenedBSD/ports 2132257security Makefile, security/rubygem-doorkeeper-i18n-rails81 Makefile

security/rubygem-doorkeeper-i18n-rails81: add port

Doorkeeper i18n translations for Rails 8.1.
DeltaFile
+7-0security/rubygem-doorkeeper-i18n-rails81/Makefile
+1-0security/Makefile
+8-02 files

FreeBSD/ports 93bef89security Makefile, security/rubygem-doorkeeper-rails81 Makefile

security/rubygem-doorkeeper-rails81: add port

Doorkeeper OAuth 2 provider for Rails 8.1.
DeltaFile
+7-0security/rubygem-doorkeeper-rails81/Makefile
+1-0security/Makefile
+8-02 files

HardenedBSD/ports 93bef89security Makefile, security/rubygem-doorkeeper-rails81 Makefile

security/rubygem-doorkeeper-rails81: add port

Doorkeeper OAuth 2 provider for Rails 8.1.
DeltaFile
+7-0security/rubygem-doorkeeper-rails81/Makefile
+1-0security/Makefile
+8-02 files

LLVM/project 816b4c1clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/SemaOpenCL builtins-amdgcn-error-gfx1250-strict.cl

[AMDGPU] Disable block16 conversions on gfx1250-strict (#222597)
DeltaFile
+45-0llvm/test/MC/AMDGPU/gfx1250-strict_err.s
+23-21llvm/lib/Target/AMDGPU/VOP3Instructions.td
+17-15llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+15-15clang/include/clang/Basic/BuiltinsAMDGPU.td
+19-1clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-strict.cl
+9-1llvm/lib/Target/AMDGPU/AMDGPU.td
+128-536 files