Thank you, Quinn. You're right — “assigned domain” was my own imprecise terminology, not a macOS API concept. Apologies for the ambiguity.
By it, I mean the complete execution scope originating from an untrusted worker: the worker process itself, any child or descendant processes it starts, and any additional execution it can cause to run on its behalf through supported delegation mechanisms.
I am not assuming macOS provides an existing process-grouping or security-domain abstraction covering all of these.
The requirement is to establish one of two guarantees:
Prevent the worker from creating or delegating additional execution in the first place, leaving only the original sandboxed worker and its narrowly authorised communication channel; or
Provide a supported, OS-enforced way for an independent supervisor to identify, terminate and positively verify the end of all worker-originated execution before a replacement worker is allowed to run.
The critical failure case is loss of the worker's controller. A mechanism requiring that controller or an Endpoint Security client to remain operational would not independently satisfy the requirement.
I'm asking whether macOS exposes a supported mechanism for either guarantee, rather than proposing that such an execution domain already exists.
If neither is available, confirmation of that limitation would be equally helpful.
Thank you again for your guidance.
Topic:
App & System Services
SubTopic:
Core OS
Tags: