Posts

Post not yet marked as solved
2 Replies
4.6k Views
I worked on my own project (a simple command line in C)after that, I was trying to compile the xnu source code using a script, and it probably changed something in my xcode configurationsbecause now all I'm getting is this error "Could not build module 'Darwin'" no matter what I do, I created a new workspace with a new project but the error remains.any ideas?Thanks!
Posted
by Stylo.
Last updated
.
Post marked as solved
2 Replies
981 Views
I just encountered this function and wondering if that means that task_read_t is only read permission for the target task i.e. mach_vm_read And is that a private capability of apple only binaries? Thank you!
Posted
by Stylo.
Last updated
.
Post marked as solved
1 Replies
604 Views
I'm following Creating a Driver Using the DriverKit SDK and when I set my class as a subclass of IOUserHIDEventService instead of IOService I'm getting an error saying expected class name [4, Parse Issue]. and an error on my Start override method saying 'Start' marked 'override' but does not override any member functions Not sure how to solve that since I cannot find any information regarding those issues.
Posted
by Stylo.
Last updated
.
Post marked as solved
5 Replies
681 Views
Hi there, I'm following Apple's code sample SimpleFirewall, and I'm trying to create my own project with parts of it including the IPCConnection class within the Network-Extension project. But on my ViewController class (which is in a different project) I'm getting an error saying: Cannot find "IPCConnection" in scope And yet I couldn't find any differences between my project's settings and the SimpleFirewall's settings. I'm pretty new to swift, and could use your help. Thanks!
Posted
by Stylo.
Last updated
.
Post marked as solved
5 Replies
565 Views
I have written a tiny system extension which handles ES_EVENT_TYPE_AUTH_MMAP ES_EVENT_TYPE_AUTH_EXEC I authorize both with the same code   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?
Posted
by Stylo.
Last updated
.
Post not yet marked as solved
7 Replies
1.4k Views
I'm trying to write a sample network filtering code as part of the NetworkExtension,So far I cannot even use #include <NetworkExtension/NetworkExtension.h>without getting an error saying "Could not build module 'NetworkExtensin'"I have already added the NetworkExtension framework to my project dependencies.and the project is a command line (C) projectany ideas?
Posted
by Stylo.
Last updated
.
Post not yet marked as solved
0 Replies
554 Views
I was subscribed for signal messages and created my own tester which allocates memory, set it to PROT_NONE and tried to read from it.I thought I was suppose to get a signal message for the SIGBUS, but nothing was sent.is there any explaination for that?Thanks!
Posted
by Stylo.
Last updated
.
Post marked as solved
2 Replies
1.8k Views
Hello,I'm trying to write a sample code for the EndpointSecurity framework.I understand that my binary needs to be entitle for such thing, but I have disabled SIP and still I'm getting an error while callinges_new_client error code isES_NEW_CLIENT_RESULT_ERR_NOT_ENTITLED.are there any other settings required changes?Thanks
Posted
by Stylo.
Last updated
.