Factors out the loading of xpc_connection_get_audit_token so it only happens once per process lifetime
Also changes to the function loading to either succeed or raise a fatalError as there's no expectation this will ever fail on the pre-11.0 versions of macOS this code runs on.
Factors out the loading of
xpc_connection_get_audit_token
so it only happens once per process lifetimeAlso changes to the function loading to either succeed or raise a
fatalError
as there's no expectation this will ever fail on the pre-11.0 versions of macOS this code runs on.