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

