Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EA5AC61D9D for ; Wed, 25 Jan 2023 19:46:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235339AbjAYTqT (ORCPT ); Wed, 25 Jan 2023 14:46:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235264AbjAYTqQ (ORCPT ); Wed, 25 Jan 2023 14:46:16 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE96C58967; Wed, 25 Jan 2023 11:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674675972; x=1706211972; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=JHsfvpl36dzvKR+JtxbaHusQ4uUk3fjtJVzg1z1S7hA=; b=UvkGWA2HwEodCgmifVXbthSCW+5P1BDTot7qfxMc/H3ycZ+eb945ezga G+h+Xe8tlz2GDpfPNmW5QuL4EoF7aJUyd0h2svtRC9dGW5QnE/wu8NBpe /IcEfjmrDI50RJ3HQx/4he1IS9Ej5j0nHh5kKm3MLFrvcQsCezA956S5W O1PLnmFwo2o5qr7OFiF0NNYISI4CvX82t1cIcv3zyjQBtCbQZo0Qy7UjE ivZizbpu5SFcWIzV5z+I7qE0kPlNqiSG+EiwHcSLlZfrv8w+xNHS4pD9d C6UVi2ykIU7iaIAo/X9fc9OlYT24LXir2+KIIvv3LZegvU/2ZqWUT3/8z w==; X-IronPort-AV: E=McAfee;i="6500,9779,10601"; a="306319288" X-IronPort-AV: E=Sophos;i="5.97,246,1669104000"; d="scan'208";a="306319288" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2023 11:46:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10601"; a="786554663" X-IronPort-AV: E=Sophos;i="5.97,246,1669104000"; d="scan'208";a="786554663" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 25 Jan 2023 11:46:11 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 25 Jan 2023 11:46:10 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 25 Jan 2023 11:46:10 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 25 Jan 2023 11:46:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BqaPFCfJ6yUDA+kSDQHXZqCIUlqgmF7BfrUWi2n3hyHN5R/eSPIWTdL/DmGzYURFoF3YHfjiOAQaVM/b2I3z/gMa5BytJUCqG/h1gAMds6elRThwlT+u5HBXFSFeLhOzJRjHcUlki8TbK/49m72B0OsSWOgBO2H5OfcOxqOGcqTS25axo6st+nznfVokKtj1Ne9rWDlhlvx5lD10tO6aC6GjN0mTjnY16wz31O7FsCgtd8VLJFDLVGmfmjjmweFBv6JojnENry/bSxcNXi+7B/VPpPLGvzT+Cf66OMb1Y01iKq+rpb7Y+dGbsidvYdQwMiStu94BID4z1PrqXAKFYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JHsfvpl36dzvKR+JtxbaHusQ4uUk3fjtJVzg1z1S7hA=; b=HafvtAJX6/avQ/tnpoZAlATh/NUNeCjkbccYIIBrmv9qUO/WEs4GXdWMRCgqLa6FQBeqg2qUWa4Sa37IIr4+LPgtecikAJs2GnnKG71N2Kdzut8qwcbLMGTCjMoTw2fvoGmxGliFI5iAgUtke42yRqJgnSFNqMWwTQuyMSqpXiNMQ6kSDUWLBTwVIZVWttURV9MDcVZEyDF+cL+d7R4CGv/XenzPDhEj4L8bdbDWovxIediqY0XFnpFkwMdI0BXUWyl1NHbMG7TO6DZkUlCEp5a64WtCpeyhdCvVEEEsWcQ1XtW5A4UKETD7nNz+WQCaCD6RcZKwHgvtaBcJFkj53w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1392.namprd11.prod.outlook.com (2603:10b6:300:24::14) by SN7PR11MB7438.namprd11.prod.outlook.com (2603:10b6:806:32b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.21; Wed, 25 Jan 2023 19:46:06 +0000 Received: from MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::d41f:9f07:ed56:a536]) by MWHPR11MB1392.namprd11.prod.outlook.com ([fe80::d41f:9f07:ed56:a536%3]) with mapi id 15.20.6043.021; Wed, 25 Jan 2023 19:46:06 +0000 From: "Edgecombe, Rick P" To: "keescook@chromium.org" CC: "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "Eranian, Stephane" , "kirill.shutemov@linux.intel.com" , "dave.hansen@linux.intel.com" , "linux-mm@kvack.org" , "fweimer@redhat.com" , "nadav.amit@gmail.com" , "jannh@google.com" , "dethoma@microsoft.com" , "kcc@google.com" , "linux-arch@vger.kernel.org" , "bp@alien8.de" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "akpm@linux-foundation.org" , "Lutomirski, Andy" , "jamorris@linux.microsoft.com" , "arnd@arndb.de" , "tglx@linutronix.de" , "Schimpe, Christina" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "pavel@ucw.cz" , "andrew.cooper3@citrix.com" , "john.allen@amd.com" , "rppt@kernel.org" , "Yang, Weijiang" , "mingo@redhat.com" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" Subject: Re: [PATCH v5 00/39] Shadow stacks for userspace Thread-Topic: [PATCH v5 00/39] Shadow stacks for userspace Thread-Index: AQHZLExFkDaYZ4rA9keHNDvD4qL75a6mUW0AgAE+64CAAB9TAIAH4w+A Date: Wed, 25 Jan 2023 19:46:05 +0000 Message-ID: References: <20230119212317.8324-1-rick.p.edgecombe@intel.com> <20230119142602.97b24f3cdba75f20f97786d3@linux-foundation.org> <202301201118.6A55DE336@keescook> In-Reply-To: <202301201118.6A55DE336@keescook> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MWHPR11MB1392:EE_|SN7PR11MB7438:EE_ x-ms-office365-filtering-correlation-id: 73190aa6-2256-4d7b-52d6-08daff0ccc66 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dnrDUIt7mq7idDryfyfaq9zGU/zCNc5Mc8O5x6Eddd+jJhJUYLiewe4EqMtL2lM5Ah5tT7sezIA130nVCIQNfsO460jYyuVLkRWK5oDJ/WqmRTX6LevYCiXTwjBLa0MohVnGNw3AfxXkMbEzXyD/4ne7MC/giMY652FrOygjv+zk+BS4VGGz+m3IYG/Xf0/qKzJGF6Zq9aATeaidiq+qo9HHaHGU5r3Ubl+xfigVW3jc13ps1vW7uNvleVoAimrLAWe1uiVFnIq9Y4GDwmfg8Ifs3BnCZ268IcTeSZLZnJD6e+18nsu4dfVfcUrqa6wPzm0c9jVYIO1uotcfpvMtCbTs8BjTcO8p+oSx4VNmbepwoZuZylc5/jnZjJnPC6gXaW/IIA+5sxxUWGXHQrloeizt4HlLSJkeAKmqfl9Fhv9iR5yPEx0mJ3mJTTA+1oAmikqX6IK9dRnByXL7yI39xHZe0TZoTcddZUAtvMkZTHGKC22s0lVHk0AgyxZVgKhBZhJg/Co1YUgjwoQrfWuvV/xmxgItTtROy383C92FwiYqhHd3zq/fmfP1cp2FxuOWQaCtG7FnD2FCN+wDaEo26/dH1wYlnNMAoCG1Nj/0H6tZAr/Ld/60JHUjA59jnjJ04l2FAO/SH7M1PajTV1pEu2SBlRkTDF5kJL7zdbVjlPAWsQ115/q4MXI3ncH+nLz0tYFgk+2C8k1AkvP7ciJf4ex8YMG6KnNnqpYuSXi2lDI= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1392.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(39860400002)(346002)(396003)(136003)(366004)(451199018)(478600001)(6486002)(8936002)(41300700001)(36756003)(82960400001)(38100700002)(5660300002)(7416002)(7406005)(2906002)(186003)(26005)(54906003)(6512007)(71200400001)(86362001)(6506007)(6916009)(8676002)(66946007)(66556008)(66476007)(66446008)(4326008)(76116006)(64756008)(38070700005)(91956017)(2616005)(316002)(122000001)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VGNqZ091Vnh4ZlNYSkorNlhRWlZMWXlzdDJNeVZjMjVjejFPTXpCRGtPYS9i?= =?utf-8?B?MkZLM0FuS0VVczh3STI3Q0JmbmMrOXE5dnJUWU1FZEtTbC8wdlZZUStDNVZ0?= =?utf-8?B?V2JWTjF5cFFGSlhXNndscmNneTIrYmVaR0JieGFsUTJSSE1UWXMwUlh2MHdV?= =?utf-8?B?Wmx2eDM2RFRHWmhPUGhUU0hZTE9samV6eVY0elErdExqcy9iZ1NjNGczTTNu?= =?utf-8?B?a25qY3BwRnV4akV1VkI2Rys2UTZTS2dmOWt5eEo1QkxxcHNhN0FMR3orTlhh?= =?utf-8?B?VFhQWUtSQ0IxdGFhaGs5WHByd2tQOWpwMEYzSW50d2tOQkt5eDNuc1ovNXkr?= =?utf-8?B?bGlWbVJlTFFJOUNGb3hDSmNaZVZ1VFZzNSt4M0R1UVNqeERvNWpaTHJnZVpr?= =?utf-8?B?SUp5MHkyd0xPbnpnSGk0NjduQnIxY1J6bnJ6Y1QrN2VWTDNVVU1nL0JCdmZq?= =?utf-8?B?aVJyc1pPcndXRG5xcTBCaERITExQQWNRcEVIQVJjZVpCWElLRWNHbnVoeU1Q?= =?utf-8?B?UXFnY00vUVM2RFRrRGMrbkpHbjR4VUdyTDVaMHZNb051bGhXN2NYYllhRURo?= =?utf-8?B?Q1Exb0tIaS9qV3JmcTg3dllBZnBzOUNPaHFaSHJjRnZJMnluWjljSzExV0t0?= =?utf-8?B?aC9uUHlOdGV3ZXBVZEpMOWUwSzBtbzZFejd2MHdXckptbS9IWHdvVzdIVSs0?= =?utf-8?B?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-8?B?LzJmMzY1MlVoRXRramVSTmpEWHdBNUlVME02MWNQUjc1Zk9VYzFpUTEveFdT?= =?utf-8?B?dVVYSG9XeE9wczhYTVJlZXg2bGNTcjZCUmhQeXRKMlZncWo2bmphNExnbWFK?= =?utf-8?B?eFIvTDRFQ2ZyZ0M2RVE3dytodEk3bzgwb2cySW5MWnFCdXRCSTVRbGdCUUJh?= =?utf-8?B?RDlnWDVROWptQk9LdXpPK1pjd1g5VW5XZlQwb3EzaU56VnQxaWRMUUVCUDFS?= =?utf-8?B?cWU3OUFhcC9jVmdoQStVV3ZESFVOMTM2akZQdDM2SVZQRzdZdWg2dW5Ubzh5?= =?utf-8?B?SGlPdmEzekRUZXNuWTdWME1RUE9rL09yT0lqRkErYiszZ3Zjc2Zvc2JISXhm?= =?utf-8?B?OExrcWFOOC9oN1Ixa095cWg4aWJ1Z1paMFJJNk9OaTZJeUVFZGQzMngrRkdH?= =?utf-8?B?V3hpK3JNSmgxemxjRHpOb3dBTE1zU3hPNGFQODhpaXdDVHUyVGFMSXRIenM1?= =?utf-8?B?VXA2NkIra2NEMjkxbDVMZmVseEErOHczZ0FEZFEwN1FOVFJ2cFZaTmJTNkxs?= =?utf-8?Q?O9fbBLSoaUWJpvB3vf2xOdA=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <84BA3CE2ABBBFD41B2608FA3FE7AB619@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1392.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73190aa6-2256-4d7b-52d6-08daff0ccc66 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2023 19:46:06.0138 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JNB2ubHvcMjMJJDeJpcRMmSUErQ9UiPVvM0ukVRzta6RX/hx6apQlZRO0bviflTEQ2JpL4RI0mbkvwMiVbO2FgD3K7DMGZG/CXtS92DK8rQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7438 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIzLTAxLTIwIGF0IDExOjE5IC0wODAwLCBLZWVzIENvb2sgd3JvdGU6DQo+IE9u IEZyaSwgSmFuIDIwLCAyMDIzIGF0IDA1OjI3OjMwUE0gKzAwMDAsIEVkZ2Vjb21iZSwgUmljayBQ IHdyb3RlOg0KPiA+IE9uIFRodSwgMjAyMy0wMS0xOSBhdCAxNDoyNiAtMDgwMCwgQW5kcmV3IE1v cnRvbiB3cm90ZToNCj4gPiA+IE9uIFRodSwgMTkgSmFuIDIwMjMgMTM6MjI6MzggLTA4MDAgUmlj ayBFZGdlY29tYmUgPA0KPiA+ID4gcmljay5wLmVkZ2Vjb21iZUBpbnRlbC5jb20+IHdyb3RlOg0K PiA+ID4gDQo+ID4gPiA+IFNIU1RLDQo+ID4gPiANCj4gPiA+IFNvdW5kcyBsaWtlIG1lIHRyeWlu ZyB0byBzd2VhciBpbiBSdXNzaWFuIHdoaWxlIGRydW5rLg0KPiA+ID4gDQo+ID4gPiBJcyB0aGVy ZSBhbnkgY2hhbmNlIG9mIHMvc2hzdGsvc2hhZG93X3N0YWNrL2c/DQo+ID4gDQo+ID4gSSdtIGZp bmUgd2l0aCB0aGUgbmFtZSBjaGFuZ2UuIEkgdGhpbmsgc2hzdGsgZ290IGRlYmF0ZWQgYW5kIHBp Y2tlZA0KPiA+IGVhcmx5IGluIHRoZSBoaXN0b3J5IG9mIHRoZSBzZXJpZXMgYmVmb3JlIEkgZ290 IGludm9sdmVkLiAic2hzdGsiDQo+ID4gaXMNCj4gPiBuaWNlIGFuZCBzaG9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