Type Alias acl_t

Source
pub type acl_t = *mut _acl;
Available on macOS and crate feature macos_10_15_1 only.
Expand description

Pointer to opaque type for Endpoint Security ACL.

The ACL provided cannot be directly used by functions within the <sys/acl.h> header. These functions can mutate the struct passed into them, which is not compatible with the immutable nature of es_message_t. Additionally, because this field is minimally constructed, you must not use acl_dup(3) to get a mutable copy, as this can lead to out of bounds memory access. To obtain a acl_t struct that is able to be used with all functions within <sys/ acl.h>, please use a combination of acl_copy_ext(3) followed by acl_copy_int(3).