Re: /lib/ld-2.2.4.so

From: Olaf Kirch (okirat_private)
Date: Thu Apr 25 2002 - 00:39:16 PDT

  • Next message: Kayne Ian (Softlab): "Cisco response to Cisco VPN Client under XP"

    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
    -- 
    Olaf Kirch        |  Anyone who has had to work with X.509 has probably
    okirat_private   |  experienced what can best be described as
    ------------------+  ISO water torture. -- Peter Gutmann
    



    This archive was generated by hypermail 2b30 : Thu Apr 25 2002 - 08:25:50 PDT