From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Subject: Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL Date: Sun, 26 Aug 2018 21:59:28 -0400 (EDT) Message-ID: References: <20180826055801.GA42063@beast> <20180826061534.GT6515@ZenIV.linux.org.uk> <20180826173236.GU6515@ZenIV.linux.org.uk> <20180826212421.GW6515@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: Al Viro , Kees Cook , LKML , Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Network Development To: Joe Perches Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sun, 26 Aug 2018, Joe Perches wrote: > On Sun, 2018-08-26 at 22:24 +0100, Al Viro wrote: > > On Sun, Aug 26, 2018 at 11:57:57AM -0700, Joe Perches wrote: > > > > > > That, BTW, is why I hate the use of sizeof(*p) in kmalloc, etc. > > > > arguments. typeof is even worse in that respect. > > > > > > True. Semantic searches via tools like coccinelle could help here > > > but those searches are quite a bit slower than straightforward greps. > > > > Those searches are .config-sensitive as well, which can be much more > > unpleasant than being slow... > > Are they? Julia? I don't completely understand the question. Coccinelle doens't know anything about the configuration. julia