Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752068Ab1ECNPP (ORCPT ); Tue, 3 May 2011 09:15:15 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:61633 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467Ab1ECNPO convert rfc822-to-8bit (ORCPT ); Tue, 3 May 2011 09:15:14 -0400 MIME-Version: 1.0 In-Reply-To: References: <20110428195402.6677.80147.stgit@paris.rdu.redhat.com> Date: Tue, 3 May 2011 09:15:12 -0400 Message-ID: Subject: Re: [PATCH -v2] flex_arrays: allow zero length flex arrays From: Eric Paris To: James Morris Cc: Eric Paris , dave@linux.vnet.ibm.com, steffen.klassert@secunet.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, sds@tycho.nsa.gov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 27 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 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 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > the body of a message to majordomo@vger.kernel.org > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/