From: "e m" <eyubo@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: path_lookup for executable
Date: Mon, 20 Nov 2006 04:00:39 +0000 [thread overview]
Message-ID: <BAY107-F318881FF4ADDFBA789F97BABED0@phx.gbl> (raw)
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"
PLEASE CC' eyubo@hotmail.com your answers.
Thanks
Eyub
err = path_lookup("/ /usr/jdk/bin/java",
LOOKUP_FOLLOW|LOOKUP_DIRECTORY|LOOKUP_NOALT, &nd);
path_release(&nd);
_________________________________________________________________
Talk now to your Hotmail contacts with Windows Live Messenger.
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview
next reply other threads:[~2006-11-20 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 4:00 e m [this message]
2006-11-20 8:05 ` Arjan van de Ven
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=BAY107-F318881FF4ADDFBA789F97BABED0@phx.gbl \
--to=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®