Re: Authenticating a User Mode Daemon
Re: Authenticating a User Mode Daemon
- Subject: Re: Authenticating a User Mode Daemon
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 04 Jan 2017 11:44:46 +0000
- Thread-topic: Authenticating a User Mode Daemon
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden