From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file Date: Wed, 1 May 2019 14:37:09 -0700 Message-ID: <20190501213709.GD28500@bombadil.infradead.org> References: <20190501211217.5039-1-yu-cheng.yu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190501211217.5039-1-yu-cheng.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Yu-cheng Yu Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pa List-Id: linux-api@vger.kernel.org On Wed, May 01, 2019 at 02:12:17PM -0700, Yu-cheng Yu wrote: > +++ b/fs/Kconfig.binfmt > @@ -35,6 +35,10 @@ config COMPAT_BINFMT_ELF > config ARCH_BINFMT_ELF_STATE > bool > > +config ARCH_USE_GNU_PROPERTY > + bool > + depends on 64BIT I don't think this is right. I think you should get rid of the depends line and instead select the symbol from each of argh64 and x86 Kconfig files.