Files
RedBear-OS/local/recipes/libs/mesa
vasilito 6eed30f072 round 12: Mesa ioccom stub removal + udev-shim eth0 fallback + netcfg summary + doc stale refs
Round 12 audit cleanup. Five fixes across five files plus a
zero-tolerance stub policy win:

1. local/patches/mesa/04-sys-ioccom-stub-header.patch — DELETED.
   The patch was a hand-rolled include/sys/ioccom.h with Linux IOC
   bitfield constants, living as a Mesa-side stub. Per local/AGENTS.md
   zero-tolerance policy: 'Any stub found in the tree is a bug to
   be fixed, not a precedent to follow.' relibc's new
   include/sys/ioccom.h (commit ca7a7edb on submodule/relibc,
   bumped in f145e9e768) provides the same constants natively,
   making the patch redundant.

2. local/recipes/libs/mesa/recipe.toml — removed the now-dead
   '04-sys-ioccom-stub-header.patch' entry from the patches list.
   Note added explaining the removal so a future maintainer does
   not re-add it.

3. local/recipes/system/udev-shim/source/src/naming.rs —
   predictable_net_name() used to return the hardcoded 'eth0' on
   parse failure of the PCI address. On multi-interface systems
   where multiple devices had unparseable PCI addresses, all
   collided on 'eth0'. Now returns 'net-malformed-<sanitized>'
   (unique per PCI string) so each device gets a distinct name.

4. local/sources/base/netstack/src/scheme/netcfg/mod.rs — the
   'summary' branch hardcoded devices.borrow().get("eth0") which
   made the summary output invisible to non-eth0 interfaces.
   Now iterates the full devices map and prints each interface's
   state. (The deeper 'ifaces' routing tree still has 20+ eth0
   references — restructuring that requires a schema change;
   deferred to a follow-up that adds a configurable default iface.)

5. local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md + 3D-DESKTOP-COMPREHENSIVE-PLAN.md
   — renamed 'redbear-kde-session' → 'redbear-session-launch' in the
   final stale reference; clarified 'redbear-wayland.desktop' (not
   yet wired).

Deferred: acpi-rs AML interpreter bare panic() (34 sites across
mod.rs) and netcfg ifaces routing tree (20+ eth0 references)
require schema-level refactors beyond one-shot fixes; tracked
for follow-up rounds.
2026-07-27 20:31:56 +09:00
..