public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/$pid/mem
@ 2005-03-19  9:08 Richard Fuchs
  0 siblings, 0 replies; only message in thread
From: Richard Fuchs @ 2005-03-19  9:08 UTC (permalink / raw)
  To: linux-kernel

Aloha!

I know it has been discussed before, but I must express my feelings 
about this issue nonetheless. I find it a major pain in the back that 
/proc/$pid/mem isn't readable by an unrelated process without doing a 
PTRACE_ATTACH first.

I mainly want to ask: is there a good reason to not drop this restriction?

I can read all the machine's physical memory and all of the kernel's 
address space (/dev/mem, /proc/kcore) non-intrusively, but I can't do 
the same on a single process. It seems to me that /proc/$pid/mem should 
work analogous to /dev/mem or /proc/kcore, but currently in practice it 
doesn't, and I don't see a good reason why it is supposed to be that way.

Cheers
Richard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-19  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19  9:08 /proc/$pid/mem Richard Fuchs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox