Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp97390ybm; Thu, 28 May 2020 17:08:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzngf+0gPjIB53FMrDntokwaVfpINinEOhKMMz0aWTfOFq4LCTwvgZVoKr3s02Lx+WcJOq8 X-Received: by 2002:a17:906:b7cd:: with SMTP id fy13mr5582384ejb.133.1590710885738; Thu, 28 May 2020 17:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590710885; cv=none; d=google.com; s=arc-20160816; b=qORMpfKMf/eSwjQ8Q8Pd0MVVrdAOurBofwQGVe1L6Vvc3w+F3TtIDPm5V0rujmeC04 FtuqiEmo2TAUH/M05YZfAQM5pEc6si9Pr0SI69y7oSLyc58s6tDh7fJjNxHqh+oezPkB 6QgrcpIXwilYm6N8mBNYDnTgJB07dK1qHhCZ/J+WYMKxDYrtDqAq9sPA6bsCCZzGyPVg WqVUEdvepAf2Iam3dIyuNhlHG2Mpq7EOD9vPcvqBiL3iQI9jZzkhTLvj56QK1cHxGsj4 H76kBn+eSeCGTNoRfy21ZZa4XSYnTFW38TYEQVHJDrqbs+BJrwoeuC+jELNRwGL0BSQC JXhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Nbse/RrKtiC6TnrY2/gRFM387GbtH0XKifB1+Jfc3e4=; b=D0fN8IP0SDFrUXRp+tOCIw7Z4xixv9xAIkqC2VOCyqkDdwrMDqeMVESnIWSEMYgVnF DNKNJ4sYV1ly3mILQ4KKp/YVQFTtNmvbEr/qoOOPDY0ZnE9L44/SvjpRqq5PsDUN+iOC PP9prRS9UgSb7N/TZ/tl4FS157ewH6UMWKDyU00RFFYqaQ1xyIHktBX4gn7qJL9SslZt LzyIvvyeKyZatZAfOhZQ39Aw75FFLRj8xzRQI59skeRPFdZANMBTcE9q2D6wAHhvhHqq BaFCxzHfyfmZ/jfmgRjzlw6Y41MlCfHACJ3T4CfIWLXur40C26ppprazMwwlOhHzQdFS f0CA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si4987349eda.5.2020.05.28.17.07.43; Thu, 28 May 2020 17:08:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437872AbgE2ADs (ORCPT + 99 others); Thu, 28 May 2020 20:03:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437853AbgE2ADr (ORCPT ); Thu, 28 May 2020 20:03:47 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22D3BC08C5C6; Thu, 28 May 2020 17:03:47 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jeSUz-00HEIm-5o; Fri, 29 May 2020 00:03:45 +0000 Date: Fri, 29 May 2020 01:03:45 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCHES] uaccess __copy_to_user() Message-ID: <20200529000345.GV23230@ZenIV.linux.org.uk> References: <20200528234025.GT23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528234025.GT23230@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar for __copy_to_user(); patches that didn't fit anywhere else (e.g. into readdir series). The goal, again, is to get rid of __copy_to_user() outside of arch/*. We are not quite there (e.g. there's regset crap, some KVM/vhost-related callers that want different predicate instead of access_ok()), but it's getting fairly close. Branch is #uaccess.__copy_to_user, based at v5.7-rc1. Al Viro (2): esas2r: don't bother with __copy_to_user() dlmfs: convert dlmfs_file_read() to copy_to_user() drivers/scsi/esas2r/esas2r_ioctl.c | 2 +- fs/ocfs2/dlmfs/dlmfs.c | 33 ++++++++++++++------------------- 2 files changed, 15 insertions(+), 20 deletions(-)