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.
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.