[llvm-pdbutil] Print error on invalid YAML (#207528)
From
https://github.com/llvm/llvm-project/pull/207058#discussion_r3522204565:
We should print out an error if we encounter invalid YAML.
With this PR, the error is printed. I included the diagnostics here,
because they provide better error messages and allow you to locate the
error easier.
interfaces: handle these as well
They are correct but it doesn't hurt to keep them in the list
to avoid noise in the config diff for now. It's easier to
spot actual issues such as "<dhcp6-ia-pd-len>0</dhcp6-ia-pd-len>"
being written to a LAN configuration.
[LV] Fold invariant reduction phis to their start value. (#223279)
A reduction phi whose backedge value is the phi itself is invariant and
equal to its start value. This can happen when the reduction operation
folds away, e.g. `or X, 0`, `and X, -1`, `add X, 0` or `mul X, 1`.
Clean up such trivial non-reductions early.
PR: https://github.com/llvm/llvm-project/pull/223279
bhyve: Add an option to prevent automatic restart in monitor mode
Monitor mode will currently unconditionally restart the guest if it
reboots, which can be incovenient in certain situations (e.g., resetting
the guest after a panic).
Address this by introducing a way to prevent automatic guest restarts
in monitor mode.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D59123
db/hash: Harden hash(3) database code
The hash(3) database code does not validate the on-disk database header,
leaving it open to several OOB read and write vulnerabilities.
This change adds basic header validation and array bounds checking to
parts of the hash(3) code that can be manipulated by messing with the
database header.
Reviewed by: kevans
Sponsored by: Klara, Inc.
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D58822
interfaces: round-trip the DHCPv6/track6 hex ID fields (#10879)
NetworkInterfaceContainerField::toLegacy() guards the hex-to-decimal conversion
for dhcp6-prefix-id, dhcp6_ifid, track6-prefix-id and track6_ifid with
"if (!$this->$fld->isSet())". BaseField::isSet() is "getValue() !== ''", so the
conversion runs only for fields the operator left empty, and a field they
actually filled in is never emitted.
Fix webshare share gathering in usage reporting
## Problem
`sharing.webshare` is a typesafe service, so its `query` hands back pydantic entries rather than dicts, and the gather loop subscripted them. A single configured webshare was enough to raise `TypeError` — and since `gather()` swallows a failing stat function wholesale, that dropped the entire `shares` payload, SMB/NFS/iSCSI included, leaving only a log line behind.
## Solution
Read `enabled` and `is_home_base` off the entry as attributes.
Fix webshare share gathering in usage reporting
## Problem
`sharing.webshare` is a typesafe service, so its `query` hands back pydantic entries rather than dicts, and the gather loop subscripted them. A single configured webshare was enough to raise `TypeError` — and since `gather()` swallows a failing stat function wholesale, that dropped the entire `shares` payload, SMB/NFS/iSCSI included, leaving only a log line behind.
## Solution
Read `enabled` and `is_home_base` off the entry as attributes.
www/wikid: update to 3.2.2
(leaf pkg)
new feature(s)
headless cli
search for articles: 6429556
print completions for the specified shell: 49b65ba
get a random article summary: 4e1a435
get the summary of an article: f2733c9
get the category of an article: 474546f
output can be in json (using --json flag)
man.cgi: remove stale manpage releases
Remove some outdated manual pages releases which are not really
supported by man.cgi: Slackware, SLES, Ubuntu interim releases.
wm/leftwm: update to 0.5.5
(leaf pkg)
Howdy, fellow adventurers!
This is an exciting new release meant to resolve the long-standing issue with leftwm-watchdog while bringing on a plethora of new features.
🦀 Minimum Supported Rust Version
The currently supported MSRV is 1.88.0
✨ Features & Breaking Changes
feat(#1296): add default_layout option to config by @AnthonyMichaelTDM in #1301
feat(watchdog): deprecate leftwm-watchdog bin; gate leftwm behind feature by @mautamu in #1324
feat!(config): Remove TOML support (implement #875) BREAKING CHANGE by @mautamu in #1339
feat(mouse): resize floating windows from the nearest corner by @adrian-cancio in #1372
🐞 Fixes and Improvements
[34 lines not shown]
sysutils/uutils-coreutils: update to 0.12.0
(leaf pkg)
Rust Coreutils 0.12.0 Release:
We are happy to announce the release of Rust Coreutils 0.12.0 - a release focused on compatibility fixes for our Ubuntu friends.
Ubuntu ships uutils coreutils as its default coreutils implementation, and this cycle was driven by what their users and maintainers reported: the bugs they asked us to prioritize are all fixed here, along with a long tail of smaller divergences from GNU. Few of these are glamorous, but they are exactly what breaks a script that has worked for twenty years.
Alongside that, we removed the last C dependency of expr (onig is replaced by the pure-Rust fancy-regex), continued the Windows port (nice, nohup and hostid now build there, and uucore's filesystem layer was rewritten with safe Win32 wrappers) and landed another round of security hardening on ls, sort and install.
Also, some contributions had carried comments and code over from GNU coreutils, against our own rule
that uutils is an original implementation. We reviewed the tree and rewrote what we found, in comments and in the few functions that followed the C too closely; no behaviour change. The GNU coreutils maintainers have been notified.
GNU coreutils 9.12 was released during our cycle (kudos to the team!), and some of the work went that way too. Chasing compatibility tends to turn up things worth fixing or improving on both sides.
We also made it official: a utility being significantly slower than GNU is now treated as a bug, not a wishlist item. If you hit one, please report it as a bug.
Highlights:
[39 lines not shown]
net/ttl: update to 0.23.0
(leaf pkg)
What's Changed
chore(deps): rustls 0.23.45 (RUSTSEC-2026-0285), unyank chacha20, supersede #133 by @lance0 in #135
feat: implement RFC 5837 ICMP interface and next-hop identification by @lance0 in #137
chore(deps): bump the cargo-dependencies group across 1 directory with 2 updates by @dependabot[bot] in #136
[AArch64][NeoverseV1/V2] Fix extended/shifted-register scheduling for ADD[S]/SUB[S]/AND[S]/BIC[S] (#220920)
Verified with llvm-exegesis on Neoverse V1 and V2 hardwares.
Opcodes | Before | After
-----------------------|---------------------|------------------------------
ADDWrx/SUBWrx | 2c (SchedAlias) | IsRealArithExtendW: 1c or 2c
ADDSWrx/SUBSWrx | IsCheapLSL | IsRealArithExtendW: 1c or 2c
ADDSXrx/SUBSXrx | IsCheapLSL | static 2c (always real extend)
ADDSXrx64/SUBSXrx64 | IsCheapLSL | static 1c (always passthrough)
ANDS/BICS Wrs,Xrs | static 2c | NeoverseShift0: 1c or 2c
IsCheapLSL checks the shift *amount* (<=4), which is the wrong axis for
the extend-register forms (need the extend *type* instead) and does not
apply to ANDS/BICS (no amount threshold, just shift-present-or-not).
NeoverseNoLSL becomes NeoverseShift0: adding LSR, ASR and ROR in
addition to LSL. Does not apply it on NeoverseV3 and others as it is not
validated using llvm-exegesis on these hardwares.
NAS-143924 / 27.0.0-BETA.1 / Fix webshare share gathering in usage reporting (#19800)
## Problem
`sharing.webshare` is a typesafe service, so its `query` hands back
pydantic entries rather than dicts, and the gather loop subscripted
them. A single configured webshare was enough to raise `TypeError` — and
since `gather()` swallows a failing stat function wholesale, that
dropped the entire `shares` payload, SMB/NFS/iSCSI included, leaving
only a log line behind.
## Solution
Read `enabled` and `is_home_base` off the entry as attributes.
misc/rozi: update to 0.0.19
(leaf pkg)
What's Changed
ci: nightly builds, and keeping a signed release verifiable by @Razuer in #4
feat(ci): run NetBSD natively and document it as community-supported by @Razuer in #5
fix(remote): read an ELF's own OS instead of assuming Linux by @Razuer in #6
feat: control detached sessions from the CLI by @Razuer in #7
refactor: restore layer boundaries for app, commands, overlays, and focus by @Razuer in #8
refactor: split commands, preferences, workspace view, and remote state by @Razuer in #10