Re: SYS_PROTO socket for nke comm.
Re: SYS_PROTO socket for nke comm.
- Subject: Re: SYS_PROTO socket for nke comm.
- From: Matt Jaffa <email@hidden>
- Date: Wed, 24 Nov 2004 09:33:41 -0700
When defining the kern_ctl_reg structure so that I can use a sys socket
to communicate
with my NKE, there is 1 flag I see defined in kern_control.h
CTL_FLAG_PRIVELIGED which equals 0x1.
But no other flags, so I don't know if non-privileged apps can connect
to it, or if you just feed a 0 into the flags for that structure
and it will let non-root apps connect to it.
Any ideas
Thanks,
Matt
On Nov 24, 2004, at 9:08 AM, Matt Jaffa wrote:
Hi,
I have a SYS_PROTO socket defined for nke communication.
But I have to run the userland app as root,
is it possible to make this socket allow non-root apps to connect to
it?
Thanks,
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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