[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: execturing libc



On Fri, 04 Feb 2005, Goswin von Brederlow wrote:
> The way to circumvent a noexec is to call the dynamic linker like I
> did for libc:
> 
> /lib64/ld-linux-x86-64.so.2 <any file>

Is it?  In sid, ia32:
/lib/ld-linux.so.2 ./test
./test: error while loading shared libraries: ./test: failed to map segment
from shared object: Operation not permitted

This is a noexec partition.

/lib/ld-linux.so.2 /bin/ls  
test  test.c  test.sh

This is an exec partition.


The hole is/has being/been closed.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: