delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/12/13:31:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 12 Nov 2004 13:33:41 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: howto register process
Message-ID: <20041112183341.GA184697@Worldnet>
References: <874qjvezwn DOT fsf AT zlatenlist DOT homelinux DOT net> <NUTMEGkMAOt7dKwKkLx000006ce AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <NUTMEGkMAOt7dKwKkLx000006ce@NUTMEG.CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.1i

On Fri, Nov 12, 2004 at 06:11:08PM -0000, Dave Korn wrote:
> > -----Original Message-----
> > From: cygwin-owner On Behalf Of Kamen TOMOV
> > Sent: 12 November 2004 17:33
> 
> > We have a daemon compiled with cygwin's fork, kill, etc.
> > 
> > 1st scenario: 
> > 
> > - the daemon gets started as a Windows service
> > - the daemon forks (calling the cygwin's version of fork()) and as a
> > result we have a few children.
> > 
> > The facts:
> > 
> > - neither the daemon, nor its children are seen by cygwins's ps.exe or
> >   could be killed with kill.exe, or kill().
> > 
> > - calling cygwin_winpid_to_pid on the parent's pid or any of its
> >   children's pid returns the error result: -1.
> > 
> > 2nd scenario: 
> > 
> > - the daemon gets started from the bash's command line.
> > 
> > The facts:
> > 
> > - the daemon is seen in the list of processes given by ps.exe and
> >   could be killed with kill.exe.
> 
> 
>   Ok, well if it isn't the terminal server thing, it's probably still perms.
> Administrator has lower privs than SYSTEM, so can't necessarily kill SYSTEM
> tasks (depending on ACL etc).

AFAIK all Cygwin processes (even those started by Windows) and their
subprocesses give full access to Administrators. If you observe that
this isn't true, please report it.

Pierre  

--
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