delorie.com/archives/browse.cgi | search |
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 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: /proc/<pid>/exe points to void |
Mail-Copies-To: | never |
Reply-To: | sds AT gnu DOT org |
X-Attribution: | Sam |
X-Disclaimer: | You should not expect anyone to agree with me. |
From: | Sam Steingold <sds AT gnu DOT org> |
In-Reply-To: | <20050310220045.GC20798@cygbert.vinschen.de> (Corinna Vinschen's message of "Thu, 10 Mar 2005 23:00:45 +0100") |
References: | <uhdjjkyi2 DOT fsf AT gnu DOT org> <20050310220045 DOT GC20798 AT cygbert DOT vinschen DOT de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Date: | Fri, 11 Mar 2005 10:57:58 -0500 |
Message-ID: | <u1xamjhtl.fsf@gnu.org> |
User-Agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
MIME-Version: | 1.0 |
> * 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? if open(/proc/<pid>/exe) fails, this means that the executable has been removed! oh wait, this is cygwin... are you saying that open(/proc/<pid>/exe) tries to open foo.exe, not foo, and fails because it is locked by windows because it is a running executable? -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.jihadwatch.org/> <http://www.iris.org.il> <http://www.memri.org/> <http://pmw.org.il/> <http://www.camera.org> My inferiority complex is the only thing I can be proud of. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |