[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8bd0f97a0912161136g19fdc4eeif977b56c98464f8b@mail.gmail.com>
Date: Wed, 16 Dec 2009 14:36:32 -0500
From: Mike Frysinger <vapier.adi@...il.com>
To: uClinux development list <uclinux-dev@...inux.org>
Cc: linux-kernel@...r.kernel.org, Greg Ungerer <gerg@...inux.org>,
uclinux-dist-devel@...ckfin.uclinux.org,
David McCullough <davidm@...pgear.com>
Subject: Re: [uClinux-dev] Re: [PATCH] NOMMU: add [stack] label to per-process
maps output
On Wed, Dec 16, 2009 at 11:59, David Howells wrote:
> Mike Frysinger wrote:
>
>> + if (vma->vm_start <= mm->start_brk &&
>> + vma->vm_end >= mm->brk) {
>
> Hmmm... That ought to involve mm->start_stack somewhere... (Or, more
> probably, task->stack_start:-/)
in practice, it's probably always the same result, but you're right of
course. when i looked through the elf_fdpic code, i looked at the
start_brk mmap() and missed the later start_stack assignment later on.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists