From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 20 Feb 2017 22:42:17 +0100 From: Emese Revfy Message-Id: <20170220224217.f5bfec20447978b28e3b4ef7@gmail.com> In-Reply-To: References: <1481925984-98605-1-git-send-email-keescook@chromium.org> <20161219121046.646e5ef425178fce8c2cb555@gmail.com> <20170111012459.c0a0c615c99a389e4d89c8b5@gmail.com> <20170112224116.680debbf6f5c288ba51a46c0@gmail.com> <20170215012319.c7720609f415b2abf725e88f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [kernel-hardening] Re: [PATCH v4 0/4] Introduce the initify gcc plugin To: Kees Cook Cc: "kernel-hardening@lists.openwall.com" , LKML , Arnd Bergmann , Josh Triplett , PaX Team , Brad Spengler , Michal Marek , Masahiro Yamada , linux-kbuild , minipli@ld-linux.so, Russell King , Catalin Marinas , Rasmus Villemoes , David Brown , "benh@kernel.crashing.org" , Thomas Gleixner , Andrew Morton , Jeff Layton , Sam Ravnborg List-ID: On Wed, 15 Feb 2017 11:27:06 -0800 Kees Cook wrote: > On Tue, Feb 14, 2017 at 4:23 PM, Emese Revfy wrote: > > On Thu, 12 Jan 2017 15:40:41 -0800 > > Kees Cook wrote: > > > >> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in > >> reference from the function clk_gate() to the variable > >> .init.rodata.str:__func__.29708 > >> The function clk_gate() references > >> the variable __initconst __func__.29708. > >> This is often because clk_gate lacks a __initconst > >> annotation or the annotation of __func__.29708 is wrong. > > > > Thanks for the report, it will be fixed in the next grsec patch. > > Very cool, thanks! What did the problem turn out to be? You can find it here: https://github.com/ephox-gcc-plugins/initify/commit/73e857aa47bde7cc78ed865a008d1519893c0f54 -- Emese