Re: [PATCH for 2.6.18rc2] [1/7] i386/x86-64: Don't randomize stacktop when no randomization personality is set

From: Arjan van de Ven
Date: Mon Jul 24 2006 - 15:58:36 EST




> - if (current->flags & PF_RANDOMIZE) {
> + if ((current->flags & PF_RANDOMIZE) &&
> + !(current->personality & ADDR_NO_RANDOMIZE)) {

these should be exclusive anyway, isn't the right solution to clear
PF_RANDOMIZE on ADDR_NO_RANDOMIZE personality ?

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