Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp88025ybm; Thu, 28 May 2020 16:52:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMdwStVZFiPFLkad/4oUmGhD7s2HcmysEC3hl43slsruCrAOwkqhWjjG4A8ZVf20MmYkKZ X-Received: by 2002:aa7:cd5a:: with SMTP id v26mr5893411edw.320.1590709934421; Thu, 28 May 2020 16:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590709934; cv=none; d=google.com; s=arc-20160816; b=xlA65DW+wfldbBow0EE5f6dOrwOw4BzHcKU2LXV9NrqPoS0YCLkoErpf/jBoXuvwoZ 33JvY2bSF8wKX2oigl9G9cYcIPGRnJs2oU71PHwHimtTZoXSy9pvnEc/OahrtJpMSUHP 4gdHO2wAbdAvLvKc1Z9gamWzHYZYdchypFqsGPt/rMVH+PFik+iUpDtNNvqTQtp8KTji YdCGGLOUrFUFm3dNwkOWqUkVGP8t+z1qCm5c+P3fybGHFrB6dPPZ8YYMP/PJBC/VMZys JlzS1ZG7yviL9LpY/3QpzRlz1pUzlU8x2XZb2/kNgpzDYQxCKOu3rIDn6ImB26ybXHUh y4ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=s9u2D5Dpxqce86ZzD3Q5NVwPkPnrtnx6q7R/N0BtnkI=; b=UGRCHttpxBvEzwgDn2ov8RELIGCbdlQy/xaWDkxNiO2P3qkoyBW0wgYTXhqtAIvwVv xqb7n+Q8Z9ovt6lDGA7FQjhzdXzxkQ989fMXenZzC/VQXFUpWEaZEESGOrCPn4KcVVQG wY3XzIVagPl0xeokbd444VPICKBYNog8l6iisrfoX8zfPmTj7REZbjBUvxzayU6sklzx cq0NO2HVXoIlvWbR4IbwbGyqEMOmojZghwExbVQBiJ+ZWWIO8IjebqQ6mnqDj6V4D7W6 f18XJpwZPkTBCTkTuSlXyBdqrfHA6GHEGlCetczTGFQqsGthy1q7lNcSzxvFcqeBUKqF is0A== 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 dv15si4369068ejb.663.2020.05.28.16.51.51; Thu, 28 May 2020 16:52:14 -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 S2437756AbgE1Xru (ORCPT + 99 others); Thu, 28 May 2020 19:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437727AbgE1Xrj (ORCPT ); Thu, 28 May 2020 19:47:39 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 776E6C008632; Thu, 28 May 2020 16:40:27 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jeS8P-00HDQd-Q4; Thu, 28 May 2020 23:40:25 +0000 Date: Fri, 29 May 2020 00:40:25 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCHES] uaccess base Message-ID: <20200528234025.GT23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Base of uaccess pile - series from Christophe Leroy adding user_{read,write}_access_begin(). Sat in ppc tree all along, in vfs.git it's #uaccess.base. No changes since the last time it got posted, repeated for reference, based at v5.7-rc1 Christophe Leroy (3): uaccess: Add user_read_access_begin/end and user_write_access_begin/end uaccess: Selectively open read or write user access drm/i915/gem: Replace user_access_begin by user_write_access_begin drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 5 +++-- fs/readdir.c | 12 ++++++------ include/linux/uaccess.h | 8 ++++++++ kernel/compat.c | 12 ++++++------ kernel/exit.c | 12 ++++++------ lib/strncpy_from_user.c | 4 ++-- lib/strnlen_user.c | 4 ++-- lib/usercopy.c | 6 +++--- 8 files changed, 36 insertions(+), 27 deletions(-)