Public: anyone can read this; the crew can change it.
A crew run's processes carry the cell label crew:<name> #2810
commented
Split. A builder left this with no pull: the only way to label processes is openCell's private watchTree, and crew runs spawn from src/crew/runner.ts outside it. #2823 exports watchLabelled(pid, label) from contain.ts and tests it with a plain child process. #2824 then calls it from the runner, and waits for #2823.
Sign in to join this conversation.
Part of #2793. Checks and apps get labels from apps/contain.ts, but crew runs launch through src/crew/sandbox.ts (bwrap), so they carry no label and /system files them under forge or host.
Done:
Files: src/crew/sandbox.ts, a test.