mail/hydroxide: Update 0.2.32 => 0.2.33
This release adds ability to pass ProtonMail CAPTCHA.
Commit log:
https://codeberg.org/emersion/hydroxide/compare/v0.2.32...v0.2.33
Port changes:
* Upstream moved to Codeberg, so set USE_FORGEJO.
* Workaround USE_RC_SUBR and WRKSRC collision by
using post-extract target.
* Update pkg-message for better clarification.
Reported by: Repology
Approved by: osa, vvd (mentors, implicit)
Differential Revision: https://reviews.freebsd.org/D61270
CodeGen: Stop marking the stack guard dso_local on Darwin
The stack guard declaration was marked dso_local on Darwin with the
static relocation model, but shouldAssumeDSOLocal already treats every
MachO global as local in that case. Drop the special case, which
removes the dependency on the TargetMachine's relocation model.
The Thumb1 LOAD_STACK_GUARD expansion checked the dso_local bit
directly, so use shouldAssumeDSOLocal like the rest of codegen to
preserve behavior.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[MLIR][Linalg] Add specialization to reduction (#239589)
Specializing generics to reduction operations.
Also cleaning up some unnecessary checks in the contraction
specialization. They are already checked by `isaContractionOpInterface`.
Also clarifying the contraction semantics in the operation
documentation. See #236855
[ConstraintElim] Split signed min/max across their operands when checking a compare
The existing constraint systems only record the bounds that hold for both
operands of a min/max (smax(a, b) >= a and >= b, smin(a, b) <= a and <= b). The
other direction is a disjunction, which cannot be recorded as a fact. When a
compare of signed decompositions involves a min/max result, split it into its
operands: the decomposition is monotonic in that result, so it is the max or min
of its values on each side, and the relation holds for all or for either side
respectively.
https://alive2.llvm.org/ce/z/zsGkJ-
[ConstraintElim] Prove sadd/ssub.with.overflow cannot overflow from the exact sum
Decompose the operands and show that the sum lies in the range of the type. This
handles patterns like A + (B - A), as well as sums involving signed min/max
results, which are split across their respective operands using monotonicity
(for example start + smax(end - start - 1, 0) <= end).
https://alive2.llvm.org/ce/z/ze8LCk
[ConstraintElim] A signed sum of operands with opposite signs cannot wrap
If one operand is known non-negative and the other non-positive, the signed
sum is between them, so it cannot overflow.
https://alive2.llvm.org/ce/z/ZF5Yqr
[lldb] Add a dynamic-loader stop reason (#239966)
## Summary
This PR introduces a dynamic-loader stop reason to notify LLDB of
accelerator library changes. Accelerator runtimes does not expose a
rendezvous breakpoint, so lldb-server reports reason:dyld.
LLDB then queries the server for the updated library list.
- add `eStopReasonDynamicLoader` and encode it as `reason:dyld` in
gdb-remote stop replies
- update loaded modules when LLDB receives the stop reason
## Testing
Added end to end tests using the mock plugin.
---------
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
[llvm] Fix a narrowing conversion warning; NFC (#240502)
This was causing a diagnostic about narrowing from double to float in
MSVC. Added a suffix to appease the compiler.
18647 kmem_update() runs every 1.5s since hires_tick became the default
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Gordon Ross <Gordon.W.Ross at gmail.com>
Approved by: Dan McDonald <danmcd at oxide.computer>
bhyve: Treat BAR registration failures as non-fatal
Some guest operating systems (at least 9front) will leave device I/O
space decoding enabled while probing BAR sizes. In this case, a
sufficiently large 32-bit BAR can overlap with the HPET MMIO region
fixed at 0xfed00000. This results in an assertion failure in
modify_bar_registration(), even though the collision is transient, i.e.,
the guest will promptly map the BAR elsewhere.
Tolerate such overlaps. Keep track of a BAR's registration state and
make sure that modify_bar_registration() doesn't try to unregister an
I/O space if registration failed.
This fixes a problem where a 32MB framebuffer ends up overlapping with
the HPET MMIO region, causing some guests to crash with an assertion
failure when probing BARs during boot.
Approved by: re (cperciva)
PR: 290098
[7 lines not shown]
inotify: Open target the directory when adding a watch
When an application uses inotify to watch a directory,
vn_inotify_add_watch() reads the directory entries and does a name
lookup so as to induce the filesystem to create namecache entries.
Some filesystems expect the directory to be opened before VOP_READDIR
can be called, so do that.
Approved by: re (cperciva)
PR: 299239
Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60782
(cherry picked from commit de80428118101624aaeaae02d59665d1027ff10e)
(cherry picked from commit d4f4bd11adf266b926400b4725682d39187a489d)
[LAA] Add tests for negative-step bounds with a symbolic start (NFC) (#236784)
Reverse early-exit loops where LAA misses the low bound, each adding an
obstacle to the previous one:
- the start, A + 4 * n, is not known to be u>= A
- the start offset is bounded only by a loop guard, not applied for a
negative step
- the deref size and the start offset are related only through loop
guards, and SCEV cannot compare them
Follow-up to https://github.com/llvm/llvm-project/pull/211964
[mlir] Remove forward and friend declarations of non-existent types (NFC) (#239117)
This patch removes forward and friend declarations of classes and a
struct that have no definitions in the codebase.
Assisted-by: Antigravity
[MemorySSA] Remove ensureOptimizedUses
After https://github.com/llvm/llvm-project/pull/240217, the last
OptmizedUses consumers is gone. Nowadays, we don't encourage pass writer
to use MemoryUse cache and it is part of the work of MemorySSA walker.
As a result, we remove MemorySSA::OptimizeUses and its related
paramter. The test needs to be chnage as we don't do walker's job now
in memoryssa.
Also, The memoryssa is not registered as a normal function pass
instead of a pass takes parameter.
Assisted-by: Claude # Test Doc
vmd(8): Reject vioblk requests beyond the disk capacity
vioblk_io() converted the guest-controlled sector to a byte offset and
passed it to the backend without comparing it against the disk capacity.
With a raw image on a regular file, pwritev() extends the file, so a
privileged guest could write past the configured size and exhaust the
host filesystem.
Pass the sector number to vioblk_io() as an unsigned value and defer the
conversion to a byte offset until after the bounds check. Once the full
transfer length is known, reject a start beyond capacity or a transfer
that crosses the end, then convert to off_t. The check is done in
unsigned arithmetic; the subtraction order avoids underflow and it never
multiplies the attacker-controlled sector.
From Acts1631, thanks!
ok dv@
Use hdr->cpusubtype directly in compatWithTargetArch
Drop the local sub, which held the full CPU subtype right next to subtype, the masked one.
Assisted-by: Claude Code
NAS-145072 / 28.0.0-BETA.1 / Use truenas_smbhad for SMB stateful failover (#20072)
Samba now replicates SMB durable handles to the standby controller with
the truenas_smbhad daemon. This replaces the ctdb implementation.
- Remove ctdb and the clustered TDB code. passdb, group mapping, share
ACLs and secrets are local to each controller again.
- Stop setting "clustering" in smb.conf.
- Write /etc/truenas_smbhad.conf with the controller node on HA systems.
Reload the daemon when a license change modifies the file.
- Keep smbd stopped on the standby. Restart it on takeover, because it
restores handles only at startup.
- Log the daemon to /var/log/truenas_smbhad.log.
- Remove the update block for stateful failover.
- Add unit tests and HA tests.