From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9973 invoked by alias); 4 Jun 2002 12:41:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9948 invoked from network); 4 Jun 2002 12:41:04 -0000 Received: from unknown (HELO itdomain003.itdomain.net.au) (203.63.157.208) by sources.redhat.com with SMTP; 4 Jun 2002 12:41:04 -0000 Received: from lifelesswks ([203.51.9.224]) by itdomain003.itdomain.net.au with Microsoft SMTPSVC(5.0.2195.3779); Tue, 4 Jun 2002 22:41:02 +1000 From: "Robert Collins" To: "'egor duda'" , "'David E Euresti'" Subject: RE: Duplicating Unix Domain Sockets Date: Tue, 04 Jun 2002 05:41:00 -0000 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] X-SW-Source: 2002-06/txt/msg00140.txt.bz2 > -----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/