On 4 janv. 2017, at 07:10, Josh Hight wrote:
I have an application with two components, a Kernel Extension and a User-Mode daemon. I need to communicate information from the Kernel Extension to the User-Mode daemon. Since this is a security application and the information being communicated is sensitive I would quite like to verify that the information is communicated only with my User-Mode daemon. Is there any way to accomplish this?
If the communication between your daemon and the Kernel Extension is performed via a control socket, the first step would be to set the CTL_FLAG_PRIVILEGED flag when you register your control socket (in the kext) so that only a root user-land process can communicate with your kext. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com