lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BAY107-F203123A8A58AB4F1F8E38AABED0@phx.gbl>
Date:	Mon, 20 Nov 2006 19:14:33 +0000
From:	"e m" <eyubo@...mail.com>
To:	arjan@...radead.org
Cc:	linux-kernel@...r.kernel.org
Subject: Re: path_lookup for executable

Thanks for response. Is there any other way to identify if "current"  is a 
certain program  such as java.  You cannot surely go by name (comm field of 
task_struct). Since  It could be linked. In another word, I want to identify 
the executing current program. Any help appreciated.

Thanks,
Eyub


>From: Arjan van de Ven <arjan@...radead.org>
>To: e m <eyubo@...mail.com>
>CC: linux-kernel@...r.kernel.org
>Subject: Re: path_lookup for executable
>Date: Mon, 20 Nov 2006 09:05:57 +0100
>
>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)
>
>

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces 
friends module. 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ