Post

Replies

Boosts

Views

Activity

Pre-populating the Full Disk Access List
I have a dialog that guides the user, explaining to them that the app needs full disk access. I noticed that this field is sometimes pre-populated (i.e. Terminal, Parallels tools, etc...). I want to be able to per-populate the list so the user can click on a button to open system preferences, and then just click the lock and check the check box. What can I do in the app so that my app is already pre-populated in this list? Thank-you!!!
1
0
781
Dec ’20
Defining two XPC services in a single System Extension
I currently have two separate system extensions that I have to launch. One is a Content Filter system extension and the other is an Endpoint Security system extension. Both define their own separate XPC services, The Endpoint Security system extension defines it through NSEndpointSecurityMachServiceName and the Content Filter system extension through NetworkExtension -> NEMachServiceName. Due to the complicated process of having the user approve two extensions and remove two extensions on uninstall, I'm venturing down the path of combining the two into a single extension. In the interest of reducing the amount of code changes, I'm interested in keeping two XPC services in the one system extension. However, when I combine the code and then the plists to define both XPC services, I fail to create the XPC listener for the Endpoint Security mach service. Is what I'm doing possible? Two XPC services in a single extension? I'm not sure if there were extra restrictions now due to combining the content filter and EndpointSecurity but it looks like simply migrating the exact same keys and values over to create two XPC services does not work.
7
0
1.2k
Sep ’20
Endpoint Security Create Notification and ES_DESTINATION_TYPE_NEW_PATH
I'm not sure how to trigger dest type new path with create notification events.I only ever see existing file. If I write a simple C program that creates a new file in a directory, I don't get ES_DESTINATION_TYPE_NEW_PATH, but instead get existing file but the file didn't exist prior. I don't mind the behaviour at all, since I get stat as part of existing file -- which is not available with the new path destination type.I'm just wondering, under what circumstances would a destination type be ES_DESTINATION_TYPE_NEW_PATH with the event ES_EVENT_TYPE_NOTIFY_CREATE?
1
0
524
Apr ’20