cygwin processes listing on windows vista

Corinna Vinschen
Mon Feb 4 17:01:00 GMT 2008

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list