Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1709396ybv; Thu, 6 Feb 2020 08:29:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxXs/+FZR/EmiHrHu3pW87c2HRU5TqJ3BW96GCmRO22/MMc10CBBt6+NOOkdJTkOaDbZAfL X-Received: by 2002:aca:ab53:: with SMTP id u80mr7334606oie.94.1581006557844; Thu, 06 Feb 2020 08:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581006557; cv=none; d=google.com; s=arc-20160816; b=qydFjHUWUg4B2qTaSsgkayejKeQwpMuUUmot/n7YlwGvYGknJfSAAE8aQzLESyEjxa 0pCYpw6i+5nmKZ7aQDE0oU47uZwgWMHdRIUgaMCOQFy01kjaKsl8gpDMtx0gvfm93NU+ ZdzXRKhxkGtDRdhehdGPFFwDdGWyu9X9HUWvkNeXieh6HCnwfp+4wokQ5Kqmt7iG3KIY woI4rpwHe1ZkcyqKbeGfwGP6Zq9M0BdNDuluC+YKTLIAzMhqUzeeeH0+0Gp9zuQ4p7b5 LV3ppJw+pRvmQdVPM+MoVDr7+TLNIWBsbLxgg7WycQck3eumeka72K4m0UHP+WARI9nW DMRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=H8YrQ1mWGuPMBrjHt+mP5rFNi9oRidSG54MQG4ifaOQ=; b=txqZRhacgeDQLqufZpTQQYRoHr01B/JYugzKOOi8wR4t85dxnAcLtKiKNSlNZjV94U XzN5kJ+oG4HOHDO1KzlvdKUwIswKxw/pkkG64lYFsRmItyaE0yghvkjjBi7F8GV/lJAB YQGaozzh5xWrgyzRG0BBVWXyZSkRMOJZMGu8GQstW4Ukaxx4GBJ2gAcShB8lEk1jyaHe ijgTYPnIL1BuHGiqyGZHP36RwH0AbGfRdIXU+Upmwe2SuXlUFXtdwzcL3BGanXbt+cIk KcaKI27SA96zP3VIav757qqEbSw38n7CyupKSta0oOgvAak05HB+2Zw4Kul48URuAGno DL+g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d199si2537001oib.135.2020.02.06.08.29.05; Thu, 06 Feb 2020 08:29:17 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727721AbgBFQ1w (ORCPT + 99 others); Thu, 6 Feb 2020 11:27:52 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:36737 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbgBFQ1w (ORCPT ); Thu, 6 Feb 2020 11:27:52 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-185-_Inpmhi_MReCPYBTeRnDtw-1; Thu, 06 Feb 2020 16:27:47 +0000 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 6 Feb 2020 16:27:46 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Thu, 6 Feb 2020 16:27:46 +0000 From: David Laight To: 'Jann Horn' , Kees Cook CC: Kristen Carlson Accardi , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Arjan van de Ven , Rick Edgecombe , "the arch/x86 maintainers" , kernel list , Kernel Hardening Subject: RE: [RFC PATCH 06/11] x86: make sure _etext includes function sections Thread-Topic: [RFC PATCH 06/11] x86: make sure _etext includes function sections Thread-Index: AQHV3O+Uub3eyEmx20OwpNUdqmwARKgOWIJQ Date: Thu, 6 Feb 2020 16:27:46 +0000 Message-ID: <9293be85241d49c182e614ffd7186bca@AcuMS.aculab.com> References: <20200205223950.1212394-1-kristen@linux.intel.com> <20200205223950.1212394-7-kristen@linux.intel.com> <202002060408.84005CEFFD@keescook> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-MC-Unique: _Inpmhi_MReCPYBTeRnDtw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSmFubiBIb3JuDQo+IFNlbnQ6IDA2IEZlYnJ1YXJ5IDIwMjAgMTM6MTYNCi4uLg0KPiA+ IEkgY2Fubm90IGZpbmQgZXZpZGVuY2UgZm9yDQo+ID4gd2hhdCBmdW5jdGlvbiBzdGFydCBhbGln bm1lbnQgc2hvdWxkIGJlLg0KPiANCj4gVGhlcmUgaXMgbm8gYXJjaGl0ZWN0dXJhbGx5IHJlcXVp cmVkIGFsaWdubWVudCBmb3IgZnVuY3Rpb25zLCBidXQNCj4gSW50ZWwncyBPcHRpbWl6YX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