LLVM/project 1dfbc1eclang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

Implement pay-for-what-you-use warnings in LifetimeSafetyChecker

We split IsLifetimeSafetyEnabled into individual check functions
in SemaLifetimeSafety.h:
- ShouldCheckSafety
- ShouldCheckNoescapeViolations
- ShouldCheckLifetimeboundViolations
- ShouldCheckMisplacedLifetimebound
- ShouldCheckInapplicableLifetimebound
- ShouldSuggestLifetimeAnnotations

These properties are stored in LifetimeSafetyOpts, which are then checked
inside the Checker to avoid invoking expensive reporting functions mapping
to diagnostics that are disabled.

TAG=agy
CONV=a79c61c3-92c6-404e-83e3-3e3088f77c0e
DeltaFile
+73-43clang/lib/Sema/SemaLifetimeSafety.h
+13-4clang/lib/Analysis/LifetimeSafety/Checker.cpp
+5-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+91-473 files

Linux/linux df29080. Makefile

Linux 7.3-rc2
DeltaFile
+1-1Makefile
+1-11 files

LLVM/project 067b6d9orc-rt/test/unit CommonTestUtils.h CMakeLists.txt, orc-rt/test/unit/bedrock/sps SimpleRemoteCATest.cpp SimpleNativeMemoryMapSPSCITest.cpp

[orc-rt] Split unit tests into SupportTests and BedrockTests (#221562)

Replace CoreTests with one test binary per layer. SupportTests links the
Support object library and nothing else, so a new support-to-bedrock
dependency fails to link rather than going unnoticed.

Making that work required splitting CommonTestUtils.h: its
Bedrock-dependent helpers move to a new BedrockTestUtils.h, so that no
SupportTests translation unit includes a Bedrock header. That in turn
lets ProxyTest join SupportTests -- Proxy.h only forward-declares
Session, so the test can define its own instead of constructing a real
one.
DeltaFile
+40-0orc-rt/test/unit/BedrockTestUtils.h
+20-17orc-rt/test/unit/CMakeLists.txt
+4-20orc-rt/test/unit/CommonTestUtils.h
+9-5orc-rt/test/unit/support/ProxyTest.cpp
+1-0orc-rt/test/unit/bedrock/sps/SimpleRemoteCATest.cpp
+1-0orc-rt/test/unit/bedrock/sps/SimpleNativeMemoryMapSPSCITest.cpp
+75-426 files not shown
+81-4212 files

Linux/linux b1e00ffkernel/trace ring_buffer_benchmark.c trace.h

Merge tag 'trace-v7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Fix several tracefs files that did not take the trace_array reference

   A trace instance can be created and destroyed in the tracefs
   "instances" directory via mkdir and rmdir respectively. The instance
   is represented by a trace_array descriptor.

   Most tracefs files pass the trace_array as the private data of the
   inode to the open/read/write functions. Since there is no locking
   between the time a task opens a file and the deletion of the instance
   (and the freeing of the trace_array), each open needs to get a
   reference to the trace_array and each close must remove it.

   An instance can't be removed if there's any reference taken on its
   trace_array. The open function uses trace_array_get() that takes a
   lock (preventing removal of instances) and iterates the list of all

    [76 lines not shown]
DeltaFile
+155-84kernel/trace/ring_buffer.c
+113-60kernel/trace/trace.c
+48-22kernel/trace/ftrace.c
+24-4kernel/trace/trace_events.c
+7-7kernel/trace/trace.h
+3-3kernel/trace/ring_buffer_benchmark.c
+350-1804 files not shown
+358-18610 files

FreeBSD/src c5c3ecasys/dev/intel spi_pci.c

intelspi: add Wildcat Lake SPI controller IDs

Add PCI device IDs for Wildcat Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59011

(cherry picked from commit eeb02a9c24e9b59295b2cdf09bed955ccbf89a7e)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 875f1a1sys/dev/intel spi_pci.c

intelspi: add Panther Lake SPI controller IDs

Add PCI device IDs for Panther Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59012

(cherry picked from commit 59379461f00c0a7ca1c911c20674510affa6795a)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src 5717b3bsys/dev/intel spi_pci.c

intelspi: add Nova Lake SPI controller IDs

Add PCI device IDs for Nova Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59013

(cherry picked from commit f22ffd63aa83976251a7b425ac17b8ecb8a80177)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src 7a1547dsys/dev/intel spi_pci.c

intelspi: add Lunar Lake SPI controller IDs

Add PCI device IDs for Lunar Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59010

(cherry picked from commit be503dd912a18e5f7eb16c73326562e13681cf49)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 5597accsys/dev/intel spi_pci.c

intelspi: add Raptor Lake SPI controller IDs

Add PCI device IDs for Raptor Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59007

(cherry picked from commit a6d84d04b3f2b570d7fff0835058d14f3bd84d9a)
DeltaFile
+4-0sys/dev/intel/spi_pci.c
+4-01 files

FreeBSD/src 32151c3sys/dev/intel spi_pci.c

intelspi: add Arrow Lake SPI controller IDs

Add PCI device IDs for Arrow Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59009

(cherry picked from commit ca1a2bf39614a910c87cbc703df25396fe2bd26b)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 3e5b0e7sys/dev/intel spi_pci.c

intelspi: add Meteor Lake SPI controller IDs

Add PCI device IDs for Meteor Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59008

(cherry picked from commit 6d4b45ac5c6c7b01febda0185df420d08f80096b)
DeltaFile
+7-0sys/dev/intel/spi_pci.c
+7-01 files

FreeBSD/src ced8de5sys/dev/intel spi_pci.c

intelspi: add Elkhart Lake SPI controller IDs

Add PCI device IDs for Elkhart Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59005

(cherry picked from commit bdda595a8ea31cb8161e5773139df3cf8785abb7)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 0a916fcsys/dev/intel spi_pci.c

intelspi: add Alder Lake SPI controller IDs

Add PCI device IDs for Alder Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59006

(cherry picked from commit 2dd4027c07e91ea5903314411f4bae44f72ca03b)
DeltaFile
+10-0sys/dev/intel/spi_pci.c
+10-01 files

FreeBSD/src 7988c59sys/dev/intel spi_pci.c

intelspi: add Tiger Lake SPI controller IDs

Add PCI device IDs for Tiger Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59004

(cherry picked from commit 3ff56f81a1a58d708d0101d601e88c289cfc5882)
DeltaFile
+11-0sys/dev/intel/spi_pci.c
+11-01 files

FreeBSD/src 4a1ca54sys/dev/intel spi_pci.c

intelspi: add Lakefield SPI controller IDs

Add PCI device IDs for Lakefield-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59001

(cherry picked from commit 0b4ff3e1def98c6d804f1e8cc96f3f8eaf4c60bb)
DeltaFile
+1-0sys/dev/intel/spi_pci.c
+1-01 files

FreeBSD/src 7d1f585sys/dev/intel spi_pci.c

intelspi: add Ice Lake SPI controller IDs

Add PCI device IDs for Ice Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59002

(cherry picked from commit 88919d5ab6c4f611fb2b90d4ff17667072296950)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src f0b1eedsys/dev/intel spi_pci.c

intelspi: add Jasper Lake SPI controller IDs

Add PCI device IDs for Jasper Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59003

(cherry picked from commit e7db9fa2e10408257541c38b99323a17824c6078)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 7f1bf94sys/dev/intel spi_pci.c

intelspi: add Apollo Lake SPI controller IDs

Add PCI device IDs for Apollo Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58998

(cherry picked from commit 4c998ff28471e3fbfcf96decbef5a472cd3d0dd1)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src d26d88bsys/dev/intel spi_pci.c

intelspi: add Comet Lake SPI controller IDs

Add PCI device IDs for Comet Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59000

(cherry picked from commit 9fb03dd2f759fa68fadecbab40ae84ec390b3a62)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src 4611c9fsys/dev/intel spi_pci.c

intelspi: add Cannon Lake SPI controller IDs

Add PCI device IDs for Cannon Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58999

(cherry picked from commit 26b921d8bd86d14ddb2441186440f6a6136cc1c1)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src d00b66dsys/dev/intel spi_pci.c

intelspi: add Broxton SPI controller IDs

Add PCI device IDs for Broxton-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58997

(cherry picked from commit a3489cc47083b7dd4ddddd6d9c03b7ba33f1271f)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src a21cd45sys/dev/intel spi_pci.c

intelspi: add Gemini Lake SPI controller PCI IDs

Add Gemini Lake LPSS SPI controller PCI IDs (0x31c2, 0x31c4, 0x31c6)
to intelspi_pci_devices[].

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58868

(cherry picked from commit 8ddc54f923aec9738c323d2077419b17ba4a1226)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 176d8casys/dev/intel spi_pci.c

intelspi: sort PCI ID table by device ID

Sort the existing LPSS peripheral SPI controller PCI ID table by
numeric device ID so new entries have an unambiguous insertion point.

Reviewed by:    wulf
Differential Revision:  https://reviews.freebsd.org/D58996

(cherry picked from commit 728775442c62c6eff1b521c074dcbccde9e70764)
DeltaFile
+3-3sys/dev/intel/spi_pci.c
+3-31 files

FreeBSD/ports 0d98e8email/dovecot24 pkg-plist Makefile

mail/dovecot24: Install imap-hibernate unconditionally

In Dovecot 2.4.5, upstream updated configure to build imap-hibernate
when kqueue notify is available (commit 6859a3aaf0e1). Since kqueue is
natively supported on all FreeBSD releases, imap-hibernate now builds
unconditionally across all versions.

Remove the obsolete OSVERSION < 1500000 check from the Makefile and
uncomment the imap-hibernate binary in pkg-plist so it gets properly
packaged on FreeBSD 14.

PR:             298059
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+1-7mail/dovecot24/Makefile
+1-1mail/dovecot24/pkg-plist
+2-82 files

FreeBSD/ports c10e6bawww/bunkerweb Makefile pkg-message, www/bunkerweb/files patch-src_common_confs_stream.conf patch-src_common_confs_http.conf

www/bunkerweb: Fix antibot plugin and improve pkg-message

The antibot core plugin does require("base64"), but lbase64 is not in
the lua_package_path, so the module cannot be resolved. Add it.

The nginx configuration is generated by the scheduler at runtime, the
port does not install it. Describe that in the message, along with the
directory for own directives, and let the rc script bail out with a
clear message as long as the configuration has not been generated.

Reported by:    netchild via private email
Sponsored by:   Netzkommune GmbH
DeltaFile
+10-7www/bunkerweb/pkg-message
+4-0www/bunkerweb/files/bunkerweb.in
+1-1www/bunkerweb/files/patch-src_common_confs_stream.conf
+1-1www/bunkerweb/files/patch-src_common_confs_http.conf
+1-1www/bunkerweb/Makefile
+17-105 files

FreeBSD/src 7aabce6sys/dev/intel spi_pci.c

intelspi: add Lunar Lake SPI controller IDs

Add PCI device IDs for Lunar Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59010

(cherry picked from commit be503dd912a18e5f7eb16c73326562e13681cf49)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src 94fbfdasys/dev/intel spi_pci.c

intelspi: add Nova Lake SPI controller IDs

Add PCI device IDs for Nova Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59013

(cherry picked from commit f22ffd63aa83976251a7b425ac17b8ecb8a80177)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src 00cd4b5sys/dev/intel spi_pci.c

intelspi: add Panther Lake SPI controller IDs

Add PCI device IDs for Panther Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59012

(cherry picked from commit 59379461f00c0a7ca1c911c20674510affa6795a)
DeltaFile
+6-0sys/dev/intel/spi_pci.c
+6-01 files

FreeBSD/src fd3fc5esys/dev/intel spi_pci.c

intelspi: add Wildcat Lake SPI controller IDs

Add PCI device IDs for Wildcat Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59011

(cherry picked from commit eeb02a9c24e9b59295b2cdf09bed955ccbf89a7e)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files

FreeBSD/src c43e9ecsys/dev/intel spi_pci.c

intelspi: add Arrow Lake SPI controller IDs

Add PCI device IDs for Arrow Lake-generation LPSS peripheral SPI
controllers.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59009

(cherry picked from commit ca1a2bf39614a910c87cbc703df25396fe2bd26b)
DeltaFile
+3-0sys/dev/intel/spi_pci.c
+3-01 files