delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/11/11:10:19

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, 11 Mar 2005 17:09:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /proc/<pid>/exe points to void
Message-ID: <20050311160956.GB2821@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <uhdjjkyi2 DOT fsf AT gnu DOT org> <20050310220045 DOT GC20798 AT cygbert DOT vinschen DOT de> <u1xamjhtl DOT fsf AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <u1xamjhtl.fsf@gnu.org>
User-Agent: Mutt/1.4.2i

On Mar 11 10:57, Sam Steingold wrote:
> > * Corinna Vinschen <pbevaan-pltjva AT pltjva DOT pbz> [2005-03-10 23:00:45 +0100]:
> >
> > On Mar 10 16:00, Sam Steingold wrote:
> >> /proc/<pid>/exe points to "foo", not to "foo.exe", so it cannot be
> >> opened &c.
> >         ^^^^
> > 	????
> 
> how do I find out which file is running if /proc/<pid>/exe cannot be
> opened?

access(2) or stat(2)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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