Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5346972pxb; Sun, 6 Feb 2022 23:04:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGNSLUvazJkfAHQjd30y/fVQXgvOailZeRilxolagGuQd421UEZOB5m38YfhGe2Y82xU1X X-Received: by 2002:a17:902:c412:: with SMTP id k18mr15179793plk.68.1644217440533; Sun, 06 Feb 2022 23:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644217440; cv=none; d=google.com; s=arc-20160816; b=mcGUZxdbB4iolQGF2/78CZrf75LhOI8yJWRtoEbCMg/26gpZ3vknI6B1S8SIgSWmcj Wf4xbxGZ2k5zkUgLp2JiFJJsfkRUHaHYlfyuno4bVnEE0xP2s02SsHYZQdcuD75jGE+H s05W+PdmjB+kxkqJ724ake5sUc2Y+W0tBVUHh6BxxWlu9iVrRURRIWLABf1jV5RvsGKV hbR08sm2ymSevYmJ0YNMrGcTVLVOFh/0O9zbIgRwR7gN4JD+G+m2OBRp3NkaZH6DCR92 kgVCrzOEN4KWae/GYmwaU3Wgc0YgEEs6TyyXpuSPEOY9g4RoLDzUuD+CQUFSE5bA9S98 UzWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:to:from; bh=YNCJCTBsHSzqe7drQ0vOlQTNef1VvkigRaWqp84wLQE=; b=qHgni5PDppryic2aNtN5wJgS3l1jKwE+Rv2g5SYkrtof6/voObt5449eWOUiv8LD5R QAfj0RCuypyNDCkqb7RfdGBOGb0A66GaU5b7XaOuowUW0r5gFP687+1twz4vhsDskzVY xbb79oBfw3GU9qq+fHskwOjcfHvKHZPFd2+uxKBgnOF/yoCkjsI+C5735cI+sw6+hp8M DyhcK4bXpa7IoRqKltG4kazq1LkDZzQdcUK1kaL+GUX+fSpnO2eWFv7eP7ZGIaUMDK/Y LDZ2QQhrXdDchXfTcntvFT7UIWTjbELlr2sNf2J4yluYLVp7bnHuKHv+v9aXABIrUPNE apmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184si8929918pge.254.2022.02.06.23.03.40; Sun, 06 Feb 2022 23:04:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1379973AbiBEN1R (ORCPT + 99 others); Sat, 5 Feb 2022 08:27:17 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:24476 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233952AbiBEN1Q (ORCPT ); Sat, 5 Feb 2022 08:27:16 -0500 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-123-BRt4ukDkO9O74xW5paCCLg-1; Sat, 05 Feb 2022 13:27:02 +0000 X-MC-Unique: BRt4ukDkO9O74xW5paCCLg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Sat, 5 Feb 2022 13:27:00 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.028; Sat, 5 Feb 2022 13:27:00 +0000 From: David Laight To: "'Edgecombe, Rick P'" , "bsingharora@gmail.com" , "hpa@zytor.com" , "Syromiatnikov, Eugene" , "peterz@infradead.org" , "rdunlap@infradead.org" , "keescook@chromium.org" , "dave.hansen@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "Eranian, Stephane" , "linux-mm@kvack.org" , "fweimer@redhat.com" , "nadav.amit@gmail.com" , "jannh@google.com" , "linux-arch@vger.kernel.org" , "kcc@google.com" , "bp@alien8.de" , "oleg@redhat.com" , "hjl.tools@gmail.com" , "Yang, Weijiang" , "Lutomirski, Andy" , "pavel@ucw.cz" , "arnd@arndb.de" , "Moreira, Joao" , "tglx@linutronix.de" , "mike.kravetz@oracle.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" , "Dave.Martin@arm.com" , "john.allen@amd.com" , "mingo@redhat.com" , "Shankar, Ravi V" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "gorcunov@gmail.com" Subject: RE: [PATCH 00/35] Shadow stacks for userspace Thread-Topic: [PATCH 00/35] Shadow stacks for userspace Thread-Index: AQHYFh9orVaVUe6rNECZu4edjJzhZqyCV/wAgABDLwCAAl19kA== Date: Sat, 5 Feb 2022 13:26:59 +0000 Message-ID: <3421da7fc8474b6db0e265b20ffd28d0@AcuMS.aculab.com> References: <87fsozek0j.ffs@tglx> In-Reply-To: Accept-Language: en-GB, 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogRWRnZWNvbWJlLCBSaWNrIFANCj4gU2VudDogMDQgRmVicnVhcnkgMjAyMiAwMTowOA0K PiBIaSBUaG9tYXMsDQo+IA0KPiBUaGFua3MgZm9yIGZlZWRiYWNrIG9uIHRoZSBwbGFuLg0KPiAN Cj4gT24gVGh1LCAyMDIyLTAyLTAzIGF0IDIyOjA3ICswMTAwLCBUaG9tYXMgR2xlaXhuZXIgd3Jv dGU6DQo+ID4gPiBVbnRpbCBub3csIHRoZSBlbmFibGluZyBlZmZvcnQgd2FzIHRyeWluZyB0byBz dXBwb3J0IGJvdGggU2hhZG93DQo+ID4gPiBTdGFjayBhbmQgSUJULg0KPiA+ID4gVGhpcyBoaXN0 b3J5IHdpbGwgZm9jdXMgb24gYSBmZXcgYXJlYXMgb2YgdGhlIHNoYWRvdyBzdGFjaw0KPiA+ID4g ZGV2ZWxvcG1lbnQgaGlzdG9yeQ0KPiA+ID4gdGhhdCBJIHRob3VnaHQgc3Rvb2Qgb3V0Lg0KPiA+ ID4NCj4gPiA+ICAgICAgICBTaWduYWxzDQo+ID4gPiAgICAgICAgLS0tLS0tLQ0KPiA+ID4gICAg ICAgIE9yaWdpbmFsbHkgc2lnbmFscyBwbGFjZWQgdGhlIGxvY2F0aW9uIG9mIHRoZSBzaGFkb3cg c3RhY2sNCj4gPiA+IHJlc3RvcmUNCj4gPiA+ICAgICAgICB0b2tlbiBpbnNpZGUgdGhlIHNhdmVk IHN0YXRlIG9uIHRoZSBzdGFjay4gVGhpcyB3YXMNCj4gPiA+IHByb2JsZW1hdGljIGZyb20gYQ0K PiA+ID4gICAgICAgIHBhc3QgQUJJIHByb21pc2VzIHBlcnNwZWN0aXZlLiBTbyB0aGUgcmVzdG9y ZSBsb2NhdGlvbiB3YXMN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