Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1865282lqt; Sun, 21 Apr 2024 12:49:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbeH4tj8Ehog+DMckI+EGtmbhe8um5kI28aLEbZyHLjetzh9YFiXstVJmLy8taPzh0UhOYIQQ58BVNxfiGHqGXYFn9+uAV3QPUJUz/qQ== X-Google-Smtp-Source: AGHT+IFGO8sq29k0H/dzJ2UuI9N0VnhXHJGASGgwhnKqxB1lF7SjMzpZayWxp7RXNq7rrcTjs59m X-Received: by 2002:a17:906:3842:b0:a54:4f06:4d00 with SMTP id w2-20020a170906384200b00a544f064d00mr4318125ejc.65.1713728963562; Sun, 21 Apr 2024 12:49:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713728963; cv=pass; d=google.com; s=arc-20160816; b=mnjTu3ZuWjzu/r2+arjN56GIURgns4EHbjnUt/greI52TDsDhzckmHkRCgILXijM9/ Sh7DxI1O/YYgSRkgDlx4TZWoIDKI34raUAF4mtqOKIUuuVr40lapPQP4BWGgNUue7pPh qPnE4pd0dqci3WgESlnxVSlnZCv2f6myZQdIQOiYURl+LPoFH3uHB1MAiB0tus9JawL1 SGK32gCqeWsnGYbj+XaDQ2eYJqGDy36cq2sxwOVmr3VI37cDTqnhOoqByLK31ptNWokf X/z075m5IAE86o/kIB2es1NXSi3MFEhLHvQU8qY6pBf+/tWdtH+BLv+gm5VuxxBTNz/b OlIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=XVrdJNCwjV5XsshVzY0DRpd9wE21Xz7TPWmPa1IjLQE=; fh=VQFTlyGL+pLB6e+ME64+My3ixe6tosg59ucA4/TSIXQ=; b=Xvsdhigf/QY3FRyIxm/+sOFhrqvljDl8f/aAdYwla+9a3mMIMlUzi6l/NpsAEgEFgE 8v4dusA+1lwZ+cOUR0TU8QDNzSkLzJ9pQauVvC/X04mtrNdeIqCUQP50VCQGOYmHPz6z Hu24vES0+HbwRvqB5qx13jq5yrbJn4hyu9QpHOuWhsXN60S4AYUm1YSHehL8sSrCNmWG seupgtpDmL7GQ1KCxwfDy0PgdfxsiKnjd3pKPTRCw7V96aJdRmWb1SrqIbSffUw1/U7h zQuvxr9J1zVz/Pa0CKyrYTXh8m5ZZmMpsbFT8KaP7Y/E8eUijiJxZRNZ7XoFlW/3GfXC yeeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-152607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oy2-20020a170907104200b00a5256ea6980si4689972ejb.465.2024.04.21.12.49.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 12:49:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-152607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 401711F20FFC for ; Sun, 21 Apr 2024 19:49:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CDF33D548; Sun, 21 Apr 2024 19:49:15 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BD5F111AD for ; Sun, 21 Apr 2024 19:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.85.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713728955; cv=none; b=Dd+RlKbl8LzniH0jboPdNlViLl83j7+G1UjvIyIO+HvuBarRno1n+wlrhZ3YlknvtpeAxllAeW8KOy6yXF+WfWX065VZHfcKQDS+ruALT41B8DADUo4kGXfw9AfGcTxEQNP6ORqgwvGXp8aVsm/gxog+Yx8gHO7Pj5TmZRMoDgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713728955; c=relaxed/simple; bh=XVrdJNCwjV5XsshVzY0DRpd9wE21Xz7TPWmPa1IjLQE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=uzA5blAqtgYJjNsJBpf0qveHqsZbivBiNyghs6aNyIDWKDeOAB79iJBnlzjx+sQcCaXosmK2CchoB0ijyxAljP+2Q0EJQXQTcFztcCf4C85fD8EgSMF4QHAaCbuoeb9AQ51cBwXP1X23s1sgONFUm5q3I6pw8Ltp3RqSjmT5/Bs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.85.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-164-pDWScEKQPoKLxWOdv2fT2Q-1; Sun, 21 Apr 2024 20:49:05 +0100 X-MC-Unique: pDWScEKQPoKLxWOdv2fT2Q-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 21 Apr 2024 20:48:31 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 21 Apr 2024 20:48:31 +0100 From: David Laight To: 'Alice Ryhl' CC: "boqun.feng@gmail.com" , "a.hindborg@samsung.com" , "akpm@linux-foundation.org" , "alex.gaynor@gmail.com" , "arnd@arndb.de" , "arve@android.com" , "benno.lossin@proton.me" , "bjorn3_gh@protonmail.com" , "brauner@kernel.org" , "cmllamas@google.com" , "gary@garyguo.net" , "gregkh@linuxfoundation.org" , "joel@joelfernandes.org" , "keescook@chromium.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "maco@android.com" , "ojeda@kernel.org" , "rust-for-linux@vger.kernel.org" , "surenb@google.com" , "tkjos@android.com" , "viro@zeniv.linux.org.uk" , "wedsonaf@gmail.com" , "willy@infradead.org" Subject: RE: [PATCH v5 1/4] rust: uaccess: add userspace pointers Thread-Topic: [PATCH v5 1/4] rust: uaccess: add userspace pointers Thread-Index: AQHaj+PoXR+cvvbs7Um8Z9suLdW8qbFzDUqQ///4IgCAACQQAA== Date: Sun, 21 Apr 2024 19:48:31 +0000 Message-ID: <98d51251e0dc470983b3fae339e0f3bf@AcuMS.aculab.com> References: <20240416095323.1107928-1-aliceryhl@google.com> <5a45ccc04cae4976900d031989104737@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 RnJvbTogQWxpY2UgUnlobA0KPiBTZW50OiAyMSBBcHJpbCAyMDI0IDE5OjM4DQo+IA0KPiBPbiBT dW4sIEFwciAyMSwgMjAyNCBhdCA4OjA44oCvUE0gRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWlnaHRA YWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBTaG91bGQgeW91IGJlIGltcGxlbWVudGluZyAn c3RydWN0IGlvdl9pdGVyJyA/DQo+ID4NCj4gPiBFdmVuIGlmIGl0IG1lYW5zIGNyZWF0aW5nIGFu IElPX1VCVUYgZm9yIGlvY3Rscz8NCj4gPiAoQWx0aG91Z2ggdGhhdCBtaWdodCB0YWtlIHNvbWUg J2ZldHRsaW5nJyBmb3IgcmVhZCt3cml0ZSBmb3IgaW9jdGxzLikNCj4gDQo+IFRoYXQgc2VlbXMg dG8gYmUgaW50ZW5kZWQgZm9yIHdoZW4geW91IGhhdmUgc2V2ZXJhbCBjaHVua3Mgb2YgbWVtb3J5 DQo+IGluIHVzZXJzcGFjZSB0aGF0IHlvdSB3YW50IHRvIHRyZWF0IGFzIG9uZSBjb250aWd1b3Vz IGNodW5rLiBUaGF0J3MNCj4gbm90IHNvbWV0aGluZyBJIG5lZWQgaW4gdGhlIEFuZHJvaWQgQmlu ZGVyIGRyaXZlci4NCg0KSXQgYWxzbyB0cmFuc3BhcmVudGx5IHN1cHBvcnRzIGluLWtlcm5lbCB1 c2VycyBhbmQgc29tZSBvdGhlciBjYXNlcy4NCg0KSSB0aGluayB0aGVyZSBpcyBhIHBhdGNoIGlu dGVuZGVkIGZvciA2LjEwIHRoYXQgcmVtb3ZlcyB0aGUgJ3JlYWQnDQphbmQgJ3dyaXRlJyBkcml2 ZXIgJ29wcycgYW5kIHJlcXVpcmVzIHRoYXQgZHJpdmVycyBzdXBwb3J0ICdyZWFkX2l0ZXInDQph bmQgJ3dyaXRlX2l0ZXInLg0KDQoJRGF2aWQNCg0KLQ0KUmVnaXN0ZXJlZCBBZGRyZXNzIExha2Vz aWRlLCBCcmFtbGV5IFJvYWQsIE1vdW50IEZhcm0sIE1pbHRvbiBLZXluZXMsIE1LMSAxUFQsIFVL DQpSZWdpc3RyYXRpb24gTm86IDEzOTczODYgKFdhbGVzKQ0K