delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/04/12:01:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 4 Feb 2008 18:00:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin processes listing on windows vista
Message-ID: <20080204170058.GG5866@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20080204T164008-961 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20080204T164008-961@post.gmane.org>
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 Feb  4 16:41, Kurt Franke wrote:
> 
> Hi,
> 
> is there any possiblity to list the cygwin processes of all users when
> logged in as an user which is member of the Adminstrators group in
> windows vista ?

Not in 1.5.x.  The reason is the way global shared memory is handled
begining with Windows 2003 Server.  There is shared memory which has to
be shared between all processes to allow access to process data from
other processes.  Since user applications running in sessions != 0 are
not allowed to create global shared memory, these processes create
their own shared memory which is only accessible within their own
session.  The result is that these processes are sort of decoupled
from other Cygwin processes.

I made a change in current CVS a while back which tries to access
global shared memory first and only creates local shared memory if
the global one doesn't already exist and the process has no rights
to create global shared memory.  However, this is also not quite
foolproof.  It should work fine if you start any Cygwin process with
admin rights before starting any user processes, for instance, by
installing cygserver as a service.


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