site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 14, 2005, at 6:35 PM, Carl Smith wrote: Regards.....Peter _______________________________________________ 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: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I have a NKE and a client that I to talk to each other. If the client app is run at some user’s, that might not be root, I still want my client/NKE to talk with each other, but it is my understanding that NKE’s need to be set with root user options only. In this case I need to set the uid to root within my client application. Is this possible and if so could you point me in the right direction as to what api’s I need to be using? The ownership/permissions of the nke need to be root/0755 for security reasons but that doesn't mean that it "runs" as root. It runs in the kernel and any user can talk to it, using various mechanisms. It's up to you to make sure that the uid and/or application which talk to your nke are suitable and appropriate for what you want to do. Your client application does not need to be suid root, nor should you (for usual activity) restrict your nke to a connection which can only be made by someone logged in as root. You haven't given us enough information to provide much more help than this. The best thing would be to describe a bit more of what you're trying to do. p.s. remember also that nke interfaces are subject to change, and Apple presently discourages some of this development precisely because of the version-to-version compatibility issues This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Lovell