Re: heap-stack-gap for 2.6

From: Andrea Arcangeli
Date: Mon Oct 11 2004 - 20:00:22 EST


On Wed, Sep 29, 2004 at 03:01:13PM -0700, Hui Huang wrote:
> > if (likely(per_process_setting < 0))
> > return global_sysctl;
> > else
> > return per_process_setting;
>
>
> Sounds good.

here we go, please review (the overflow checks are the only ones really
worth reviewing since they're exploitable if not correct):

http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.6/2.6.9-rc4/heap-stack-gap

Andrew, could you merge it in mainline after 2.6.9 is out?

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