I have written a tiny system extension which handles
I authorize both with the same code
but for some reason while I'm opening processes (i.e. Safari, Mail, etc..) they all hang.
I have tried removing either of the events, and figured while only receiving EXEC events, everything works as it should, but when only receiving MMAP events, every process hang and not responding.
is there a special handling for the MMAP event?
Code Block ES_EVENT_TYPE_AUTH_MMAP ES_EVENT_TYPE_AUTH_EXEC
I authorize both with the same code
Code Block es_auth_result_t auth_res = ES_AUTH_RESULT_ALLOW; es_respond_result_t respond; respond = es_respond_auth_result(client, message, auth_res, true); if (respond != ES_RESPOND_RESULT_SUCCESS) printf("error in respond\n");
but for some reason while I'm opening processes (i.e. Safari, Mail, etc..) they all hang.
I have tried removing either of the events, and figured while only receiving EXEC events, everything works as it should, but when only receiving MMAP events, every process hang and not responding.
is there a special handling for the MMAP event?