No kill in martha's tests or probes reaches past what its own code started (martha#205) #209
Loading…
Reference in a new issue
No description provided.
Delete branch "jupiter/205-kill-sites-floor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #205, #195. Threat model: issues/205#issuecomment-5167.
Every kill in martha's tests and probes goes through one pure rule,
src/linux_process_identity/what_a_signal_may_reach.ts:/, the temporary directory or the home.Sites 1, 8, 9, 10 and 11 are helpers. Each takes the signaller as an argument, so its test records the signal and never sends one. Their mutants are each killed in a run inside
unshare --pid. Sites 2-7 are in test code: they use the same rule, and the rule's own mutants pin it.Confined runs: the related files pass 825 and fail 8. The same 8 fail on main
37fb64bbwhen run confined: they are red only inside the pid namespace (#207).🤖 Generated with Claude Code
Neptunus r1 (all required) and Mars's fold-in: - the rule: aPathAMatchMayName refuses '/', a shared root and any ancestor of one (the match is by prefix), and always counts SYSTEM_TEMPORARY_DIRECTORY, since the suite rewrites TMPDIR. aFolderAScanMayTake is built on it. Numbers are read only from decimal digits ('1e3' and '0x10' are refused); - stopTheProcessesLeftIn returns [] for a scratch that is gone (its callers are finally blocks), and throws on the other refusals; - prove_a_clean_install's pid and session floors (:242, :623, :718, :674, :785, theSessionItBegan) all go through aNumberASignalMayReach; - launch_a_claude_code_member's killGroupsCarrying and killWhateverNamesTheHome take the signaller and refuse a path every process carries. Mutants R1, R2, P3, L1 and L2 are each killed, confined, with a recording signaller.