Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "'egor duda'" <cygwin@cygwin.com>, "'David E Euresti'" <davie@MIT.EDU>
Subject: RE: Duplicating Unix Domain Sockets
Date: Tue, 4 Jun 2002 22:41:10 +1000
Message-ID: <00b101c20bc5$1b7f8500$0200a8c0@lifelesswks>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <291438343308.20020604101630@logos-m.ru>
X-OriginalArrivalTime: 04 Jun 2002 12:41:03.0060 (UTC) FILETIME=[16500140:01C20BC5]



> -----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/

