Messages in this thread | | | From | "Manfred Spraul" <> | Subject | BUG? race between kswapd and ptrace (access_process_vm ) | Date | Wed, 7 Mar 2001 17:32:43 +0100 |
| |
Is kswapd now running without lock_kernel()?
Then there is a race between swapout and ptrace: access_process_vm() accesses the page table entries, only protected with the mmap_sem semaphore and lock_kernel().
Isn't
spin_lock(&mm->page_table_lock);
missing in access_one_page() [in linux/kernel/ptrace.c]?
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |