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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 0ADA8C433E0 for ; Fri, 29 May 2020 00:10:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF44620776 for ; Fri, 29 May 2020 00:10:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438042AbgE2AKG (ORCPT ); Thu, 28 May 2020 20:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437671AbgE2AKE (ORCPT ); Thu, 28 May 2020 20:10:04 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F27BC08C5C6; Thu, 28 May 2020 17:10:03 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jeSaz-00HEXR-Gd; Fri, 29 May 2020 00:09:57 +0000 Date: Fri, 29 May 2020 01:09:57 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCHES] uaccess __put_user() Message-ID: <20200529000957.GW23230@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-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Similar misc patches dealing with __put_user() eliminations not fitting into other series (e.g. quite a bit went into net-next already, then there's readdir series and comedi one - the last one is the single biggest pile of __put_user() outside of arch/*, etc.). Branch in #uaccess.__put_user, based at v5.7-rc1 Al Viro (3): compat sysinfo(2): don't bother with field-by-field copyout scsi_ioctl.c: switch SCSI_IOCTL_GET_IDLUN to copy_to_user() pcm_native: result of put_user() needs to be checked drivers/scsi/scsi_ioctl.c | 20 ++++++++++---------- kernel/sys.c | 33 +++++++++++++++++---------------- sound/core/pcm_native.c | 12 ++++++++---- 3 files changed, 35 insertions(+), 30 deletions(-)