spaces-landlock-policy-test
checks.x86_64-linux.spaces-landlock-policy
· build #218
· raw
1gi-build-x86-02: building 24xhph66qc9ba7fpi0al6dwy0acjj618-spaces-landlock-policy-test.drv2bun test v1.4.2 (744846f84)34sandbox.test.ts:5✓ the landlockconfig policy is deny-by-default with fs/net/scope grants [5.61ms]6✓ the policy excludes the home and sibling integrations (leaf-scoped) [0.54ms]7✓ multiple connect ports collapse into one connect_tcp rule [0.02ms]8✓ no connect ports means no egress rule [0.02ms]9✓ bind ports emit a bind_tcp rule alongside connect egress [0.02ms]10✓ multiple bind ports collapse into one bind_tcp rule [0.01ms]11✓ no bind ports still handles bind_tcp so every bind is denied [0.52ms]1213landlock-policy-cli.test.ts:14✓ lowerIntegrationPolicy: writable surface is StateDirectory + private tmpfs [0.11ms]15✓ lowerIntegrationPolicy: credentials mount is read-only, ports pass through [0.02ms]16✓ lowerIntegrationPolicy: a shared exchange dir joins the writable surface [0.02ms]17✓ resolveFromEnv: colon-lists split, absent vars yield empty [0.53ms]18✓ resolveFromEnv -> lowerIntegrationPolicy: the shared dir env reaches rw [0.02ms]19✓ end-to-end: deny-by-default doc grants exactly StateDir(rw) + cred(ro) + 443 [0.85ms]20✓ lowerIntegrationPolicy: bindPorts fold through into a bind_tcp rule [0.04ms]21✓ lowerIntegrationPolicy: absent bindPorts grants no bind but keeps it handled [0.02ms]22✓ lowerIntegrationPolicy: extraPaths route ro→roDirs, rw→rwDirs [1.99ms]23✓ lowerIntegrationPolicy: extraPaths ro-file routes to roFiles, not roDirs [0.35ms]24✓ lowerIntegrationPolicy: %t/%h in extraPaths expand from the unit env [0.49ms]25✓ lowerIntegrationPolicy: an unresolvable specifier fails closed [1.14ms]26✓ resolveFromEnv: %t/%h sources come from XDG_RUNTIME_DIR/HOME [0.06ms]2728 20 pass29 0 fail30 58 expect() calls31Ran 20 tests across 2 files. [41.00ms]