Skip to content

The desktop suite's guest checks and its probe have shorter comments, with their reasons kept - #259

Merged
DevomB merged 2 commits into
mainfrom
comments-gui-suite
Oct 9, 2026
Merged

DevomB merged 2 commits into
mainfrom
comments-gui-suite

Conversation

@DevomB

@DevomB DevomB commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Part of the cleanup-held redo, after #254: the desktop suite's guest checks and its probe, held until #253 landed. Comments only, in build/guest-tests/gui-check.sh and tools/desktop/wlprobe.c.

How it was done. The same procedure as #242. Cleanup-held's change was merged onto main 5990a42, and only regions where every changed line is a comment were kept. Each cut was then read by hand. Stripping comments from main's version and this one gives the same code in both files, and bash -n passes on the check.

Kept from the cut. Shorter comments in gui-check.sh:

  • the filter-kill audit line,
  • the one-DRM-device check, with the virtio-pci note moved beside the line it explains,
  • the Alt+p menu window, the focus.zone record and the compositor surviving a close,
  • the app_id over the title, the encrypted zone's relaunch,
  • the zone-0 process rule (its interpreter and terminal cases are spelled out in the case beneath it),
  • the clipboards and the transfers' helpers.

Section rules are evened to one width. In wlprobe.c: the wire format's path is now exact (compositor/wlproxy/src/wire.rs), and the object ids, hold_oversize and the guessed global name are shorter.

Kept from main:

  • gui-check.sh's oversize section: dwl clips a surface only to (w - bw) x (h - bw), so the excess lies under the right and bottom borders. That is why the host measures all four, and the cut dropped it.
  • wlprobe.c's header line: in a zone it shows what the proxy lets through, in zone 0 the compositor's full set.
  • All of tools/image/gui-test.sh: its header is its --help (sed -n '2,20p'), and the cut's one-line header would lose the suite's charter and shift that range.

Dropped from the cut: its conflicting hunks, which main has rewritten since (#191, #253).

How the run proves it. CI's compositor tests compile wlprobe.c, and shell lint covers the check. Nothing else changes.

DevomB added 2 commits October 8, 2026 20:55
… with their reasons kept: cleanup-held's cut of gui-check.sh and wlprobe.c, redone on main by hand, comments only

The oversize section keeps why the excess lies under the right and bottom
borders (dwl clips to (w - bw) x (h - bw)), and wlprobe's header what it shows
in a zone and in zone 0; gui-test.sh's header is its --help and stays.
…al's terminal up, why interpreters and havoc are judged by what they run, and that no zone can read the consent code's file

From a non-author read: zone-app-in-cgroup passes only while personal's havoc
runs, and the case arms judge bash, python3 and havoc by their first argument.
@DevomB
DevomB merged commit da59554 into main Oct 9, 2026
11 checks passed
@DevomB
DevomB deleted the comments-gui-suite branch October 9, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant