Re: [PATCH] x86: Don't randomize stack unless current->personalitypermits it

From: Arjan van de Ven
Date: Thu Jul 13 2006 - 16:52:42 EST



> BTW, why does randomize_stack_top() mod against (8192*1024) instead of (8192)
> like arch_align_stack()?
>

because it wants to randomize for 8Mb, unlike arch_align_stack which
wants to randomize the last 8Kb within this 8Mb ;)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/