Re: is this a bug of elf_core_dump

2007-06-28 Thread Kyle McMartin
On Fri, Jun 29, 2007 at 01:03:06PM +0800, ye janboe wrote: > if (get_user_pages(current, current->mm, addr, 1, 0, > 1, > &page, &vma) <= 0) { > DUMP_SEEK(PAGE_SIZE); >

is this a bug of elf_core_dump

2007-06-28 Thread ye janboe
I found there are codes like following in elf_core_dump for (addr = vma->vm_start; addr < vma->vm_end; addr += PAGE_SIZE) { struct page *page; struct vm_area_struct *vma;