From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Date: Mon, 09 Nov 2015 18:19:05 +0000 Subject: Re: [kernel-hardening] Re: [PATCH] video: constify geode ops structures Message-Id: <1447093145.2701.45.camel@perches.com> List-Id: References: <1447018493-20631-1-git-send-email-Julia.Lawall@lip6.fr> <20151108221624.GP18797@mwanda> <20151109054253.GQ18797@mwanda> <20151109133026.GA8264@mwanda> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall , Dan Carpenter Cc: kernel-hardening@lists.openwall.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook On Mon, 2015-11-09 at 18:12 +0000, Julia Lawall wrote: > > On Mon, 9 Nov 2015, Dan Carpenter wrote: > > > Yeah, that's tricky and I don't have an answer but marking things as > > const is a worth while in itself because it makes static some analysis > > easier. > > I'm not clear on how to proceed here... I think not relying on gcc plugins would be good and would not be harmful even with a future plugin use. So I think sending patches to add const is good.