Re: [PATCH -v2] flex_arrays: allow zero length flex arrays

From: Eric Paris
Date: Tue May 03 2011 - 09:15:22 EST


It builds on another patch already committed to my tree. I'll send
you a pull request for that branch right now!

-Eric

On Mon, May 2, 2011 at 8:20 PM, James Morris <jmorris@xxxxxxxxx> wrote:
> On Thu, 28 Apr 2011, Eric Paris wrote:
>
>> Just like kmalloc will allow one to allocate a 0 length segment of memory
>> flex arrays should do the same thing.  It should bomb if you try to use
>> something, but it should at least allow the allocation.
>
> This patch does not apply to current -linus.
>
> --
> James Morris
> <jmorris@xxxxxxxxx>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
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/