www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/21/05:53:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 21 Apr 2008 11:53:04 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Vista + cygwin basics
Message-ID: <20080421095304.GU23852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4802CD4D DOT 2030805 AT cwilson DOT fastmail DOT fm> <480A3B4C DOT 2040205 AT cwilson DOT fastmail DOT fm> <480A4B67 DOT 7911174B AT dessent DOT net> <480BA842 DOT 6010609 AT cwilson DOT fastmail DOT fm> <480C43FC DOT 2FAA58C3 AT dessent DOT net> <20080421085001 DOT GR23852 AT calimero DOT vinschen DOT de> <480C59CA DOT FA9F3864 AT dessent DOT net> <480C5BC0 DOT 803423F6 AT dessent DOT net>
MIME-Version: 1.0
In-Reply-To: <480C5BC0.803423F6@dessent.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Apr 21 02:17, Brian Dessent wrote:
> Brian Dessent wrote:
> 
> > Right, I wasn't trying to imply that the location of the shared section
> > had anything to do with IL, just explaining why his elevated shell in
> > session 1 could see the processes of services in session 0 (i.e. because
> > the elevated session 1 could create the shared section in the global
> > namespace and read the cygwin process table.)
> 
> Oh wait, I think I see what you're saying: that regardless of IL, the
> output of 'ps' depends solely on the Cygwin shared process table and not
> being able to open a process object.

Yep.  The problem is that there isn't one process table, but one
process table per session.

> But then, ps -W would depend on IL, since that includes non-Cygwin
> processes that aren't included in the Cygwin pid table, right?

Not IL, afaik.  It's all about session isolation.  Non-privileged users
can't see processes outside of their session.  That's also already the
case since at least Windows 2K3.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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