Post

Replies

Boosts

Views

Activity

Does es_sync_client completion exclude a dropped final notification?
This is a public API contract question about macOS 27 EndpointSecurity, not a reported bug, observed loss, or tested reproducer. We need to distinguish draining messages admitted to a client queue from establishing that every relevant generated notification was delivered, including the final one. For this hypothetical case, assume one exact, nonnull client instance remains live in the same epoch throughout the request and callback. Its required subscriptions and unmuted scope have been verified. The sync call is made outside its ES handler; no client deletion, replacement, or cancellation occurs. A null-client immediate callback or a callback caused by destruction would not qualify. Also assume an ordered application writer has committed every record delivered to it; that receipt does not establish kernel completeness. Consider the following schematic sequence: A, the last numbered message, is received → an in-scope NOTIFY B may be generated and dropped → es_sync_client returns success and its callback completes → no subsequent numbered message is received. B represents a notification associated with an operation intended to precede the synchronization cut. Whether that operation's completion establishes B's enqueue position relative to the marker is part of the contract question, not an assumed scheduling guarantee. We understand the documented synchronous-enqueue relationship for completed syscalls. The sequence counters compare received messages, while WWDC20 also describes queue-full drops. We are not asserting that this hypothetical history occurs on any particular release. For an operation with the required pre-marker ordering established, does successful sync completion on the live client exclude a generated-but-dropped B, rather than only confirm processing of messages actually ahead of the marker in the queue? If it does not, is there a supported terminal sequence watermark, drop result, or equivalent interface that can establish loss-free delivery for that finite cut without waiting for another numbered notification? Which public contract specifies the required causal-ordering and client-lifecycle conditions, applicable macOS/SDK versions, and loss semantics—or, if this stronger guarantee is unavailable publicly, can you confirm the supported boundary? This question does not request global quiescence, termination of all descendants, private implementation details, or a workaround that weakens identity checks. References: es_sync_client global_seq_num seq_num WWDC20: Build an Endpoint Security app, 37:27
0
0
88
1d
Does es_sync_client completion exclude a dropped final notification?
This is a public API contract question about macOS 27 EndpointSecurity, not a reported bug, observed loss, or tested reproducer. We need to distinguish draining messages admitted to a client queue from establishing that every relevant generated notification was delivered, including the final one. For this hypothetical case, assume one exact, nonnull client instance remains live in the same epoch throughout the request and callback. Its required subscriptions and unmuted scope have been verified. The sync call is made outside its ES handler; no client deletion, replacement, or cancellation occurs. A null-client immediate callback or a callback caused by destruction would not qualify. Also assume an ordered application writer has committed every record delivered to it; that receipt does not establish kernel completeness. Consider the following schematic sequence: A, the last numbered message, is received → an in-scope NOTIFY B may be generated and dropped → es_sync_client returns success and its callback completes → no subsequent numbered message is received. B represents a notification associated with an operation intended to precede the synchronization cut. Whether that operation's completion establishes B's enqueue position relative to the marker is part of the contract question, not an assumed scheduling guarantee. We understand the documented synchronous-enqueue relationship for completed syscalls. The sequence counters compare received messages, while WWDC20 also describes queue-full drops. We are not asserting that this hypothetical history occurs on any particular release. For an operation with the required pre-marker ordering established, does successful sync completion on the live client exclude a generated-but-dropped B, rather than only confirm processing of messages actually ahead of the marker in the queue? If it does not, is there a supported terminal sequence watermark, drop result, or equivalent interface that can establish loss-free delivery for that finite cut without waiting for another numbered notification? Which public contract specifies the required causal-ordering and client-lifecycle conditions, applicable macOS/SDK versions, and loss semantics—or, if this stronger guarantee is unavailable publicly, can you confirm the supported boundary? This question does not request global quiescence, termination of all descendants, private implementation details, or a workaround that weakens identity checks. References: es_sync_client global_seq_num seq_num WWDC20: Build an Endpoint Security app, 37:27
Replies
0
Boosts
0
Views
88
Activity
1d