delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/04/08:43:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <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>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019