Re: /lib/ld-2.2.4.soFrom: Olaf Kirch (firstname.lastname@example.org)
- Previous message: Robert A. Seace: "Re: /lib/ld-2.2.4.so"
- In reply to: FozZy: "Re: /lib/ld-2.2.4.so"
- Next in thread: Bill Weiss: "Re: /lib/ld-2.2.4.so"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Apr 2002 09:39:16 +0200 From: Olaf Kirch <email@example.com> To: FozZy <firstname.lastname@example.org>
On Wed, Apr 24, 2002 at 11:12:05PM +0200, FozZy wrote:
> > You can't fix it. You can always do
> > cp file-with-mode-444-perms ./foobar
> > chmod +x foobar
> > ./foobar
> Well, not "always". I used to be on a system where home partitions, /tmp,
> and any place where you can write something, were mounted as noexec.
I know. But there's always a way around noexec. On most architectures, you
could also just mimick the behavior of ld.so by dlopen()ing the binary
doing a dlsym("_main") and jumping there.
-- Olaf Kirch | Anyone who has had to work with X.509 has probably email@example.com | experienced what can best be described as ------------------+ ISO water torture. -- Peter Gutmann