From: Dan Carpenter <dan.carpenter@oracle.com> To: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>, kernel-janitors@vger.kernel.org, Tomi Valkeinen <tomi.valkeinen@ti.com>, linux-geode@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] video: constify geode ops structures Date: Mon, 9 Nov 2015 01:16:24 +0300 [thread overview] Message-ID: <20151108221624.GP18797@mwanda> (raw) In-Reply-To: <1447018493-20631-1-git-send-email-Julia.Lawall@lip6.fr> Cool. So, in grsec they use a GCC plugin to make these const automatically since they only contain function pointers. There about 100 struct types marked as __no_const. Kees would like to adopt the grsec pluggin approach I expect. Do you have an idea how many structs only contain function pointers or how many consts we would have to add to get the same effect without the plugin? regards, dan carpenter
WARNING: multiple messages have this Message-ID (diff)
From: Dan Carpenter <dan.carpenter@oracle.com> To: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>, kernel-janitors@vger.kernel.org, Tomi Valkeinen <tomi.valkeinen@ti.com>, linux-geode@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] video: constify geode ops structures Date: Sun, 08 Nov 2015 22:16:24 +0000 [thread overview] Message-ID: <20151108221624.GP18797@mwanda> (raw) In-Reply-To: <1447018493-20631-1-git-send-email-Julia.Lawall@lip6.fr> Cool. So, in grsec they use a GCC plugin to make these const automatically since they only contain function pointers. There about 100 struct types marked as __no_const. Kees would like to adopt the grsec pluggin approach I expect. Do you have an idea how many structs only contain function pointers or how many consts we would have to add to get the same effect without the plugin? regards, dan carpenter
next prev parent reply other threads:[~2015-11-08 22:19 UTC|newest] Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-08 21:34 [PATCH] video: constify geode ops structures Julia Lawall 2015-11-08 21:34 ` Julia Lawall 2015-11-08 22:16 ` Dan Carpenter [this message] 2015-11-08 22:16 ` Dan Carpenter 2015-11-08 22:24 ` Julia Lawall 2015-11-08 22:24 ` Julia Lawall 2015-11-09 5:42 ` Dan Carpenter 2015-11-09 5:42 ` [kernel-hardening] " Dan Carpenter 2015-11-09 5:42 ` Dan Carpenter 2015-11-09 6:09 ` Joe Perches 2015-11-09 6:09 ` [kernel-hardening] " Joe Perches 2015-11-09 6:09 ` Joe Perches 2015-11-09 6:39 ` Julia Lawall 2015-11-09 6:39 ` [kernel-hardening] " Julia Lawall 2015-11-09 6:39 ` Julia Lawall 2015-11-09 13:30 ` [kernel-hardening] " Dan Carpenter 2015-11-09 13:30 ` Dan Carpenter 2015-11-09 18:12 ` Julia Lawall 2015-11-09 18:12 ` Julia Lawall 2015-11-09 18:19 ` Joe Perches 2015-11-09 18:19 ` Joe Perches 2015-11-09 13:49 ` Dan Carpenter 2015-11-09 13:49 ` Dan Carpenter 2015-11-09 14:50 ` Julia Lawall 2015-11-09 14:50 ` Julia Lawall 2015-11-09 16:39 ` Dan Carpenter 2015-11-09 16:39 ` Dan Carpenter 2015-11-09 17:05 ` Emese Revfy 2015-11-09 17:05 ` Emese Revfy 2015-11-09 17:48 ` Julia Lawall 2015-11-09 17:48 ` Julia Lawall 2015-11-09 21:24 ` Kees Cook 2015-11-09 21:24 ` Kees Cook 2015-11-09 21:24 ` Kees Cook 2015-11-09 21:55 ` Julia Lawall 2015-11-09 21:55 ` Julia Lawall 2015-11-09 21:55 ` Julia Lawall 2015-11-09 23:34 ` Kees Cook 2015-11-09 23:34 ` Kees Cook 2015-11-09 23:34 ` Kees Cook 2015-11-10 1:24 ` PaX Team 2015-11-10 1:24 ` PaX Team 2015-11-10 1:24 ` PaX Team 2015-11-10 15:44 ` Julia Lawall 2015-11-10 15:44 ` [kernel-hardening] " Julia Lawall 2015-11-10 15:44 ` Julia Lawall 2015-11-09 21:20 ` Kees Cook 2015-11-09 21:20 ` Kees Cook 2015-11-10 6:38 ` Christoph Hellwig 2015-11-10 6:38 ` Christoph Hellwig 2015-11-10 20:34 ` Kees Cook 2015-11-10 20:34 ` Kees Cook 2015-11-10 20:49 ` Joe Perches 2015-11-10 20:49 ` Joe Perches 2015-11-10 22:02 ` Dan Carpenter 2015-11-10 22:02 ` Dan Carpenter 2015-11-10 22:17 ` Joe Perches 2015-11-10 22:17 ` Joe Perches 2015-11-10 22:34 ` Dan Carpenter 2015-11-10 22:34 ` Dan Carpenter 2015-11-10 22:39 ` Joe Perches 2015-11-10 22:39 ` Joe Perches 2015-11-24 11:28 ` Tomi Valkeinen 2015-11-24 11:28 ` Tomi Valkeinen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20151108221624.GP18797@mwanda \ --to=dan.carpenter@oracle.com \ --cc=Julia.Lawall@lip6.fr \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-fbdev@vger.kernel.org \ --cc=linux-geode@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=plagnioj@jcrosoft.com \ --cc=tomi.valkeinen@ti.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.