endpoint-sec
endpoint-sec copied to clipboard
Implement macOS 15.0 and 15.4 changes
Fixes #52
This PR adds everything from the macOS 15.0 and 15.4 SDK:
- A new es_event_gatekeeper_user_override_t event type
- Made the
instigatorfield in most types nullable, and added a newinstigator_tokenfield. To make this backwards compatible, inendpoint-sec,instigator_tokenwill automatically grab it frominstigatoron old versions of ES. - Adds a new disposition field to mount and remount events, telling us the kind of disk backs the mount
- Adds a new instigator field to signal events to handle delegated signal handling (ergo sending a signal to a process through launchd)
- Adds a new
es_tcc_modify_tevent type to get notified of TCC modifications. - Some documentation and type refactoring.
Along with this, we also have a commit to greatly simpliy our ffi_wrap_enum macro to limit the amount of stuff we have to write each time we add support for a new SDK version.