From: Arjan van de Ven <arjan@infradead.org>
To: e m <eyubo@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: path_lookup for executable
Date: Mon, 20 Nov 2006 09:05:57 +0100 [thread overview]
Message-ID: <1164009958.31358.564.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <BAY107-F318881FF4ADDFBA789F97BABED0@phx.gbl>
On Mon, 2006-11-20 at 04:00 +0000, e m wrote:
> I am trying to get inode for an executable program. For example, I wish to
> get inode for /usr/jdk/bin/java file in a module. The following call always
> return an error. Is there a way to get the inode of current process,
> assuming I have access to "current"
Hi,
what makes you think the current executable has any meaning? It can be
unlinked, renamed or moved in the directory hierarchy since the program
was started... (and if you would go by inode number.. then there's
multiple answers possible)
next prev parent reply other threads:[~2006-11-20 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 4:00 e m
2006-11-20 8:05 ` Arjan van de Ven [this message]
2006-11-20 19:14 ` e m
2006-11-20 19:27 ` Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164009958.31358.564.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=eyubo@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®