From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF465C433E1 for ; Wed, 3 Jun 2020 19:23:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A827D2067B for ; Wed, 3 Jun 2020 19:23:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726661AbgFCTXJ (ORCPT ); Wed, 3 Jun 2020 15:23:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725821AbgFCTXI (ORCPT ); Wed, 3 Jun 2020 15:23:08 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04B9FC08C5C0 for ; Wed, 3 Jun 2020 12:23:08 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jgYyg-002dEI-3A; Wed, 03 Jun 2020 19:23:06 +0000 Date: Wed, 3 Jun 2020 20:23:06 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: [git pull] misc uaccess stuff Message-ID: <20200603192306.GX23230@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 uaccess patches that really didn't fit anywhere else. kvm_hv_set_msr() patch left as-is; __put_user() is by no means final there, but that'll be dealt with along with other KVM uaccess stuff next cycle. The following changes since commit b44f687386875b714dae2afa768e73401e45c21c: drm/i915/gem: Replace user_access_begin by user_write_access_begin (2020-05-01 12:35:22 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.misc for you to fetch changes up to 4ec76a2b74c72ef9eed875ce63e27a5e7f8d80cc: bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user() (2020-06-01 14:42:37 -0400) ---------------------------------------------------------------- Al Viro (9): pselect6() and friends: take handling the combined 6th/7th args into helper binfmt_elf: don't bother with __{put,copy_to}_user() binfmt_elf_fdpic: don't use __... uaccess primitives binfmt_flat: don't use __put_user() x86: switch cp_stat64() to unsafe_put_user() TEST_ACCESS_OK _never_ had been checked anywhere user_regset_copyout_zero(): use clear_user() x86: kvm_hv_set_msr(): use __put_user() instead of 32bit __clear_user() bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user() arch/x86/include/asm/pgtable_32.h | 7 --- arch/x86/kernel/sys_ia32.c | 40 ++++++++------ arch/x86/kvm/hyperv.c | 2 +- fs/binfmt_elf.c | 14 ++--- fs/binfmt_elf_fdpic.c | 31 +++++++---- fs/binfmt_flat.c | 22 +++++--- fs/select.c | 112 ++++++++++++++++++++++---------------- include/linux/regset.h | 2 +- kernel/bpf/syscall.c | 25 ++------- 9 files changed, 134 insertions(+), 121 deletions(-)