Thanks Kevin. The lack of authorization deadlines makes the descendants client a useful direction to explore. Could you clarify its behavior specifically when the client is lost?
For a worker covered by es_new_descendants_client, if the client process crashes, disconnects, or calls es_delete_client:
What happens to an AUTH_EXEC request already blocked awaiting a response: is it denied, allowed, or left blocked?
What governs later exec attempts by that still-running worker after the client is gone? Does any kernel-enforced restriction remain?
The case I need to cover is a separate evidence collector with a read or associated copy/storage operation already in flight when the guarding client disappears. Is there a supported way to keep exec replacement prevented until that operation finishes, including if it fails, while still allowing shutdown within a finite bound?
If the descendants client does not provide that guarantee, confirmation would help me redesign the collection boundary. A reference to the applicable public contract and supported OS/SDK versions would be appreciated. This remains a proposed design; I have not run a guard-loss experiment.
Topic:
App & System Services
SubTopic:
Core OS
Tags: