| index c90f6be74..2c86bef9f 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-same-box-edge-fence.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-same-box-edge-fence.tsv |
| @@ -22,9 +22,9 @@ internal/instanceexec/probe_hardening.go readBoxAddrs legacy accepted-legacy acc |
| internal/instancectl/server.go runWithClaim authority C,D,G Claim instance controller adds held-release RPC dispatch within existing launch/participation execution boundary.;rev3=census-ruling-rootfs-apps-2;basis=takes a RegistryView (HostApp and HostRuntime) for the bare hostApp, and the production Server literal gains HostRuntime, ProbeImage: BuildProbeImage, ProbeImageFile: ProbeImagePath, RootfsProbeOut under /run/carlos-control and DenyEvery: 10s; this body reads nothing new itself; the readers it wires (instanceRegistryHostRuntime, BuildProbeImage, the rootfs probe's output) are decision rows;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 4 and #329 plan 3 Task 5: takes the egress asserter as a parameter, sets it on the production Server literal (Egress) and starts its 30 s Loop beside probeLoop and diskLoop; the literal also names the fixture check ProbeFixturesOK (renamed in plan 2 Task 14). It sets no control drop-in directory: plan 3's ControlDropInDir default (/run/systemd/system.control) was deleted with removeGenControlDropIn in ef38e13b (the P1 EROFS fix), so instance control names systemd's control directory only to read it (TrustedDropinReader). The same four sites (the two exec.CommandContext closures, statfsBytes, the data literal), offsets moved; no read added.;rev3=census-ruling-agent-start-demo-1;basis=Wires root-owned demo config and existing fixed paths into the service.;rev3=census-ruling-region-ha-p3b;basis=Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data.;rev3=census-ruling-agent-start-demo-3;basis=Construct the demo snapshot supervisor for configured demo boxes; startup cleanup gates builder readiness. Census read-site delta: unchanged (4).;rev3=census-ruling-gvisor-demos;basis=Retain sandbox modes and error; bind host-provided baseline and runtime callbacks without importing host templates. Existing reads unchanged. Task 6: Capture HostClaims once from ControlConfig/hostwrite.Enabled and set the fixed root-owned bundle discovery directory. Existing command and configuration reads unchanged. Task 7: enable gVisor worker construction through fixed unitFamily(roleBuild); readiness proof rechecks sandbox admission and current Ready without reaching the constructor fatal path for transient refusals. Existing command/config reads unchanged. Final R1 P2: wire the fixed /var/lib/carlos/oci-rootfs parent for native readiness evidence; no request-supplied path. Carry the root-only host.env validation callback into Ready; no agent read or caller-selected path.;rev3=census-ruling-same-box-edge-fence;basis=Root. Sets NFT: edgefence.Exec (runs /usr/sbin/nft from PATH with fixed arguments and root-derived stdin, see the envelope) and EdgeFenceOff from os.Getenv; wraps s.Systemctl with guardStarts and calls bindEgressFence; calls denyLocalAddrs once before Serve so a leftover runtime exemption is checked or replaced by the whole deny before any request is served. No new file read; the exec is nft's. data-literal@2661,file:CommandContext@1151,file:CommandContext@1329,file:Exec@2530,file:Statfs@2682 c6779927278f6143036a9339b5dbcb1e09c2e887a888430068e3583b1222cf99 |
| @remove internal/instanceexec/probe_hardening.go boxAddrClosed |
| @removed internal/instanceexec/probe_hardening.go boxAddrClosed H3 census-ruling-same-box-edge-fence;basis=Probe (uid carlos). Its ReadFile of box-addrs moved into readBoxAddrs, which it now calls; it reads nothing itself. The verdict rule is unchanged: a UDP datagram to every listed address must get EPERM (fenced addresses get it from the fence's drop rule). |
| -@coverage . ecdd7dd5f446b4531b804cc225048411e771ed5caa952319af49b8581499a99c |
| +@coverage . 1b8f686b6f724152c6b93faedf9546ba26ea4236f27c7cc5082fc035533e0775 |
| @coverage internal/edgefence 115531fbda852d7ea66268f229f532f89c419f34b9d81670ec89012767389ee8 |
| -@coverage internal/host 4ecc37f7d8da95b326d41c2c1e427f6abd76d36f074be23d6617690cdf55f7b6 |
| +@coverage internal/host 6515a8026cf0ae5430c31ed19fabe0ca8f3814a0d79d30b2bd5985d9831b9cc6 |
| @coverage internal/host/units 16617c256a62a706c691f42c7bed9c05d3fdd56cc1b4abb938b9c39eff0fefd7 |
| @coverage internal/instancectl e3308298508c556287cc104e871719f09f149ae6f5b71e2a0dd8bfe1e6be8bdf |
| @coverage internal/instanceexec c6071fb5114f8512ac922f4a9c19d0b282a6a22b37894f742425806a2c26aef1 |