From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750978AbdALVnE (ORCPT ); Thu, 12 Jan 2017 16:43:04 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:32900 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdALVnA (ORCPT ); Thu, 12 Jan 2017 16:43:00 -0500 Date: Thu, 12 Jan 2017 22:41:16 +0100 From: Emese Revfy 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 Subject: Re: [PATCH v4 0/4] Introduce the initify gcc plugin Message-Id: <20170112224116.680debbf6f5c288ba51a46c0@gmail.com> In-Reply-To: References: <1481925984-98605-1-git-send-email-keescook@chromium.org> <20161219121046.646e5ef425178fce8c2cb555@gmail.com> <20170111012459.c0a0c615c99a389e4d89c8b5@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Jan 2017 17:09:31 -0800 Kees Cook wrote: > WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from > the function rebind_subsystems() to the variable > .init.rodata.str:__func__.4400 > The function rebind_subsystems() references > the variable __initconst __func__.4400. > This is often because rebind_subsystems lacks a __initconst > annotation or the annotation of __func__.4400 is wrong. Thanks for the report, you can find the fix here: https://github.com/ephox-gcc-plugins/initify/commit/25f34834e3373e067133bc5d39d42c50a3592d56 -- Emese From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:32900 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdALVnA (ORCPT ); Thu, 12 Jan 2017 16:43:00 -0500 Date: Thu, 12 Jan 2017 22:41:16 +0100 From: Emese Revfy Subject: Re: [PATCH v4 0/4] Introduce the initify gcc plugin Message-Id: <20170112224116.680debbf6f5c288ba51a46c0@gmail.com> In-Reply-To: References: <1481925984-98605-1-git-send-email-keescook@chromium.org> <20161219121046.646e5ef425178fce8c2cb555@gmail.com> <20170111012459.c0a0c615c99a389e4d89c8b5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: 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 On Tue, 10 Jan 2017 17:09:31 -0800 Kees Cook wrote: > WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from > the function rebind_subsystems() to the variable > .init.rodata.str:__func__.4400 > The function rebind_subsystems() references > the variable __initconst __func__.4400. > This is often because rebind_subsystems lacks a __initconst > annotation or the annotation of __func__.4400 is wrong. Thanks for the report, you can find the fix here: https://github.com/ephox-gcc-plugins/initify/commit/25f34834e3373e067133bc5d39d42c50a3592d56 -- Emese From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Date: Thu, 12 Jan 2017 22:41:16 +0100 From: Emese Revfy Message-Id: <20170112224116.680debbf6f5c288ba51a46c0@gmail.com> In-Reply-To: References: <1481925984-98605-1-git-send-email-keescook@chromium.org> <20161219121046.646e5ef425178fce8c2cb555@gmail.com> <20170111012459.c0a0c615c99a389e4d89c8b5@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 Tue, 10 Jan 2017 17:09:31 -0800 Kees Cook wrote: > WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from > the function rebind_subsystems() to the variable > .init.rodata.str:__func__.4400 > The function rebind_subsystems() references > the variable __initconst __func__.4400. > This is often because rebind_subsystems lacks a __initconst > annotation or the annotation of __func__.4400 is wrong. Thanks for the report, you can find the fix here: https://github.com/ephox-gcc-plugins/initify/commit/25f34834e3373e067133bc5d39d42c50a3592d56 -- Emese