setuid for priv sockets?
setuid for priv sockets?
- Subject: setuid for priv sockets?
- From: Brad Parker <email@hidden>
- Date: Mon, 27 Oct 2008 14:11:56 -0400
- Organization: Heeltoe Consulting
If I have a app which wants to open a "privileged" socket (AF_NDRV) for
direct ethernet access,
Is the right thing to make the app setuid root and do seteuid()?
This is (currently) a command line application. I suspect I should
ultimately add a UI and have it pop up a window asking for
authentication... (but I'm trying to avoid a UI for now)
-brad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden