Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Robert Collins" To: "'egor duda'" , "'David E Euresti'" 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 AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT 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/