Re: What's left over.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Oct 31 2002 - 09:55:22 EST


On Thu, 2002-10-31 at 14:26, Jeff Garzik wrote:
> Yeah, historically we have avoided things like this.
> kcalloc gets proposed every year or so too.

I would like to see both of these in because tons of kernel fixing that
has been done through audits has been about

        get_user(a, ...)
        kmalloc(a * sizeof(b), ..)

We end up with loads of ugly > MAXINT/sizeof(foo) if checks in the code
that ought to be in one 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 Oct 31 2002 - 22:00:53 EST