Re: recent change to exit_mmap

From: Andrew Morton (akpm@digeo.com)
Date: Sat Jan 18 2003 - 02:00:14 EST


Anton Blanchard <anton@samba.org> wrote:
>
> It seems with the TIF_32BIT scheme we have a window between
> SET_PERSONALITY until exec returns where TASK_SIZE might be considered
> incorrect (although at which exact point to you decide that, yes we are
> now in the new context).
>
> Any ideas on how to fix this? Maybe we can move SET_PERSONALITY down
> after flush_old_exec.
>

On seconds thoughts...

Are the first two SET_PERSONALITY() calls in there actually doing anything?
Perhaps you're right, and we only need the one at line 615, whcih is in the
right place?

-
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/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:17 EST