Stub xpc_connection_copy_entitlement_value

This commit is contained in:
Ariel Abreu 2020-07-23 22:18:24 -04:00
parent d6992c77e9
commit 96d94ab0d0
2 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,8 @@ void xpc_dictionary_set_mach_send(xpc_object_t object, const char* key, mach_por
#define XPC_PIPE_FLAG_PRIVILEGED XPC_PIPE_PRIVILEGED #define XPC_PIPE_FLAG_PRIVILEGED XPC_PIPE_PRIVILEGED
xpc_object_t xpc_connection_copy_entitlement_value(xpc_connection_t connection, const char* entitlement);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -1,4 +1,5 @@
#include <xpc/private.h> #include <xpc/private.h>
#include <stdio.h>
int _xpc_runtime_is_app_sandboxed() int _xpc_runtime_is_app_sandboxed()
{ {
@ -175,3 +176,8 @@ xpc_object_t xpc_create_reply_with_format(xpc_object_t original, const char * fo
return result; return result;
}; };
xpc_object_t xpc_connection_copy_entitlement_value(xpc_connection_t connection, const char* entitlement) {
printf("%s\n", __PRETTY_FUNCTION__);
return NULL;
};