[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PTRACE_POKEDATA on PROT_NONE hangs kernel
On Sun, Sep 20, 1998 at 11:17:27PM -0700, Linus Torvalds wrote:
> Right. The above pages it in if it isn't present. In this case, it does
> nothing, because the page _is_ present (as far as the kernel is
> concerned), it's just marked non-present as far as hardware is concerned
> in order to get the right PROT_NONE permissions.

Do all of those non-atomic tests, actions and following the chain of
page table entries work ok when ptracing a cloned process?

I've no idea, it just looks a bit dodgy to me. Perhaps I don't
understand the power of lock_kernel().

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.026 / U:7.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site