On Tue, Jan 03, 2012 at 10:05:46AM +0000, Roger Leigh wrote:
> If you really need to use a filesystem mounted noexec, just run
> the binary via /lib/ld.so (you'll need to get the real location
> from e.g. ldd).  Something like:

The kernel does not allow executable mappings from noexec filesystems,
so this does not work.

| $ /lib64/ld-linux-x86-64.so.2 ./ls 
| ./ls: error while loading shared libraries: ./ls: failed to map segment from 
shared object: Operation not permitted

Bastian

-- 
Our missions are peaceful -- not for conquest.  When we do battle, it
is only because we have no choice.
                -- Kirk, "The Squire of Gothos", stardate 2124.5


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120103104800.ga3...@wavehammer.waldi.eu.org

Reply via email to