/proc/*/mem weirdness

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Fri, 12 Mar 1999 11:26:36 +0100


using plain Linux 2.2.2 I'd like to read the memory from another process using

# cat /proc/17940/mem
cat: /proc/17940/mem: No such process

pid 17940 _is_ running and working fine. reading /proc/*/mem fails for
_every_ PID in my system, except when I try /proc/self/, here I get

# cat /proc/self/mem
cat: /proc/self/mem: Permission denied

what's going on here? of course this all is done as root...

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/