From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <38043651.FA0BA70E@colorfullife.com> Date: Wed, 13 Oct 1999 09:35:45 +0200 From: Manfred Spraul MIME-Version: 1.0 Subject: Re: [more fun] Re: locking question: do_mmap(), do_munmap() References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Alexander Viro Cc: "Stephen C. Tweedie" , Andrea Arcangeli , linux-kernel@vger.rutgers.edu, Ingo Molnar , Linus Torvalds , linux-mm@kvack.org List-ID: 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://humbolt.geo.uu.nl/Linux-MM/