This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Duplicating Unix Domain Sockets
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "'egor duda'" <cygwin at cygwin dot com>,"'David E Euresti'" <davie at MIT dot EDU>
- Date: Tue, 4 Jun 2002 22:41:10 +1000
- Subject: RE: Duplicating Unix Domain Sockets
> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of egor duda
> That's what cygwin daemon is for -- to provide a
> services that require high privileges to normal non-privileged
> processes. After such handle duplication service (with appropriate
> security checks) is implemented in cygwin daemon, it would be simple
> to augment AF_UNIX sockets protocol to be able to pass auxiliary
> information such as fds.
And as the daemon's features for handle passing are complete (the tty
code works fine), this should be easily achievable now. I don't have
time myself, but will happily provide pointers for anyone wanting to add
the necessary code to the cygserver.
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/