Re: [more fun] Re: locking question: do_mmap(), do_munmap()

Manfred Spraul
1999-10-13T07:35:45Z

Alexander Viro wrote:
> Another one: ptrace_readdata() -> access_process_vm() -> find_extend_vma()
> -> make_pages_present(). Again, no mmap_sem in sight.

Can 2 processes ptrace() each other? If yes, then this will lock-up if
you acquire the mmap_sem.

--
Manfred