This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin processes listing on windows vista


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]