[libc++] Mark P3774R1 as "Nothing to Do" (#239648)
P3774R1 was superseded by P3948R1
Closes #171279
---------
Co-authored-by: Hristo Hristov <zingam at outlook.com>
Co-authored-by: A. Jiang <de34 at live.cn>
[offload] Document and assert allocation alignment guarantee (#223381)
Document the minimum allocation alignment, add an assertion, and test
small allocations.
Unlock KERN_HOSTNAME and KERN_DOMAINNAME sysctl paths.
Use the new hostname_mtx mutex to protect data. Use the temporary buffer
for exchange with userland. We have some areas outside sysctl layer
where we do read-only kernel-locked access to the hostname and the
domainname, so keep modification under two locks. The mutex could be
pushed in such areas later.
We also do hostname and domainname modification during kernel bootstrap
on diskless stations, but this happens at early startup before rootfs
mount.
ok deraadt
[CIR] Name cir-offload-merge device modules by position
Name device modules @device_0, @device_1, ... in -targets order. The bundle
ID attribute already identifies each module.
[Support][Path] `TempFile::keep` does not delete the temporary when `rename` fails (#236822)
`TempFile::keep` first attempts a `rename` of the file, but if it fails,
it falls back to a full copy of it. Originally, the code only removed
the temporary file when `copy_file` failed, which ended up in the
original temporary location being kept while it should have been
discarded.
The issue is not present on Windows.
I wasn't able to find a reliable way to test the issue. But it is easy
to reproduce if the source and destination underlying file systems are
different.
[CIR] Use static functions in cir-offload-merge
Keep the anonymous namespace for the struct only, and comment why the
bundler is used to check targets.
[CIR] Add cir-offload-merge tool with a combine mode
Nest a host CIR module and its device modules in an offload container.
Add cir.offload.bundle_id to record each module's offload bundle ID, since
modules can share a triple and differ only in target ID.
fill socket length
socket length needs to be set when building the various sockaddr
structures, otherwise m_add_sockaddr() is going to serialize exactly
zero bytes.
spotted by acts, thank you!
interfaces: split hostwatch and neighbors menu; closes #11177
Prompted by @Monviech we're having difficulty explaining the entanglement
of hostwatch features and static neighbors. We also have a lot of terminology
to refer to hostwatch itself: automatic discovery, host discover, neighbor
discovery, host watch. So make hostwatch and neighbors separate menu items
for clarity.
[InstCombine] Canonicalise Vector Shuffle that clears upper bits
Currently, shuffle vectors that are equivalent to preserving lane 0 and clearing the uppers lanes of a vector result in different shuffle vectors and masks
Recognise and canonicalise the shuffleVectors to the same form allowing for easier recognition in the backend
graphics/openexr*: Security update to 3.4.18
This release addresses a regression introduced in v3.3.0 that leads to
excessive memory usage during write, especially with DWA compression.
This release also addresses two security vulnerabilities.
Changelog:
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.18
PR: 300607
Pull request: https://github.com/freebsd/freebsd-ports/pull/666
Approved by: osa, vvd (mentors, implicit)
Security: GHSA-PP92-4RV3-WFQ6
Security: GHSA-2V77-PVHX-25C3
MFH: 2026Q4
Fix .note.gnu.property values in ld -b binary invocations
ld.lld -b binary generated bogus .note.gnu.property values because in
such invocations there are no ELF object files to AND the -1 initial
value with. Use 0 as a starting value in that case.
Upstream PR: https://github.com/llvm/llvm-project/pull/238541
ok robert@ kettenis@
[mlir][vector] Pad the target shape when unrolling masks (#234448)
`getTargetShape` only needs to divide the trailing dimensions, so it can
have a smaller rank than the op. Both mask unroll patterns index the
offsets by the op's rank, so a rank 3 mask with a rank 2 target shape
reads past the end and asserts. Pad with leading unit dims, the same way
`UnrollElementwisePattern`
does.
With that, `constant_mask` hits a second issue: a tile past the mask
ends up with a zero in one dimension and its full extent in the others,
which the op rejects since it only accepts all zeros for an empty mask.
Fixes #217175
---------
Co-authored-by: Andrzej Warzyński <andrzej.warzynski at gmail.com>
SEV-SNP: Register GHCB and handle #VC for unvalidated pages
More preparations for SEV-SNP: With SNP enabled, the GHCB page needs
to be registered with the hypervisor through the GHCB MSR protocol.
When we are an SNP enabled guest and touch a page that has not been
validated by us, the CPU delivers a #VC with error code
SVM_VMEXIT_PAGE_NOT_VALIDATED. In that case we panic.
vctrap() now takes the faulting address as an additional argument,
so vctrap_early() has to pass %cr2 in %r8. While there, also zero
the arguments sig and code: vctrap_early() is always in kernel mode,
so user is zero and they are never used.
ok mlarkin