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

Re: program execution in /dev/shm



On Wed, 04 Oct 2006 12:20:38 +0200, Jörg-Volker Peetz wrote:

> On my etch system with kernel 2.6.18 I can no longer execute a program
> in "/dev/shm", ...
> 
> Does anybody else have this problem?

Nope:

$ ldd /bin/grep
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e7e000)
        /lib/ld-linux.so.2 (0xb7fc3000)

$ cp -p /bin/grep  /dev/shm/

$ ldd /dev/shm/grep
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7dcd000)
        /lib/ld-linux.so.2 (0xb7f12000)

$ /dev/shm/grep -V
grep (GNU grep) 2.5.1

$ mount | grep shm
tmpfs on /dev/shm type tmpfs (rw)

tong




Reply to: