Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6543660yba; Wed, 1 May 2019 14:38:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqw23GeVrlE7jZh/JR90+JqQlK7XFA58PyVejMB24bn4jmcCPqkVOJ6cMD7lKxfy+oas+9vN X-Received: by 2002:a63:1359:: with SMTP id 25mr293818pgt.92.1556746701837; Wed, 01 May 2019 14:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556746701; cv=none; d=google.com; s=arc-20160816; b=rdLOItYpv6PY7PVt6XxbWvyUenAtV5gD22GnkQj8BfbH7FDVS56NpFJA5ajQ+YErXN j+5WdTILRwfdXaDeMHU8RF6xCGH2i85BDZnDJV4HuPNw/pmB2bc0D52Nr1nds3+3Va/S dUpIxmy3lQc7ukdFxGhyLRGilYr8vSVOmlUyyKUg9JTc32nlcfrloGK/8aJUBWl76n/y Gys/j9TXBtYaY5kGojwMtdb5pcLdYrOrVAdd/uteagogMp+OireZZsrL+adwPchY1S/j eq5aCESo8Z/0X3Y0WZW10V9yyIW+Nz1/o16kQqW6oEsFHrZ/wHLJnQZqa++XRDZCmJgv IsuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mSSNwGMhoyWQ5375GOOf/uQ74wm3NC5DdejM1nUCyb8=; b=EhJtgxNf6J8AvDBqKrS9gVE+LrGPyDw5w5hWrHiLKjNSdPsAqwvNZsVfjtS9SMwnjo zz69wvS3HXBlEUmiYS52slUfAVRDf6U3PNlC+gPFlxfzlbRtVYuXsvTo/imt09jvdFK5 f74JC160ffqZoB9GgkyysKJV7qNwokcFPcpNX/S6Cvaa+IFLf+YEAHQr5sBoHgZ5t/HZ eNuhV7gkv8BalW2nk1JPTTZNUm3E2D14Z2wgcF3a7VrJ7T4osObGDVUzyY1oqtQbGcZy RAdcAnARJ/55F1nxPFeeq++m4VdZy0e1e7vdIJdYJrakHnkkxnTpHAVoMp2WBypqP4CW ISrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MIuqm2d8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13si14362053pfa.289.2019.05.01.14.38.06; Wed, 01 May 2019 14:38:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MIuqm2d8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726184AbfEAVhQ (ORCPT + 99 others); Wed, 1 May 2019 17:37:16 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41234 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfEAVhP (ORCPT ); Wed, 1 May 2019 17:37:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mSSNwGMhoyWQ5375GOOf/uQ74wm3NC5DdejM1nUCyb8=; b=MIuqm2d8VU91YVOYxQcFgYL/Y EgDLKBirDKGYVS8njJgpYjtO0nte87j6Ureh+xG2CF5T2Ak8YrJbr83WEXXC+C+tTFi8xsnB+Y9c3 r45yrTeiKPEenIPh4ig1Xr8nS9WWtgeMINKNXgliuECdMmLwjA7kFxRGEHUcMTOLCD5nCgQmzc3o8 jtrfYtmcawNX95xG97tIjmlWld/5sAZjcOmVNeBzBf7MMo70X6/C5dGhmpRUBL3+YN9uEjqooL0tJ tBgUgyclGQsdLK4AlU/9oDbbodCn/5XNg6XvTLtHj3S1ycFFHTl3jvKDc/a5JiC2ReoJZu1F+B4/k aQPeDuoWA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLwub-0000lV-Nw; Wed, 01 May 2019 21:37:09 +0000 Date: Wed, 1 May 2019 14:37:09 -0700 From: Matthew Wilcox 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 , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin Subject: Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file 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 Content-Disposition: inline In-Reply-To: <20190501211217.5039-1-yu-cheng.yu@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.