Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp99817ybm; Thu, 28 May 2020 17:12:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxriDnaQLixc2UD4R68ukhRStJHq3w9edXwzdC69al5Ek+GP1vzh7n38EZWCo3vXxsP4ltA X-Received: by 2002:a05:6402:c18:: with SMTP id co24mr1398049edb.206.1590711150696; Thu, 28 May 2020 17:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590711150; cv=none; d=google.com; s=arc-20160816; b=GC0gTOmMQsst6YFwW5+RCoaucy77k2ZNr2EXT8cFcT6zqrSNnHVn1rht7BbhFxMLll BxMm8Gk1yVzreW7+f5G/iv00evbq1bX+VssDi2KYNhAf/gfwHMXEWX8KNCygjSPHse8A EtKrewksRP9nG2/tDLTPp2aKMPSa3q9a7EqeNKpoX3T3f33lC0NuVc8QYr27DPXsx3B0 NYeAgswHpxh5Q/fmhs4xuK2vbL1YgZJLORGnrXifNfMYIdn3271RZhOUK7h3R3jQAJyq Qpq1n14Xy98Cs1otyvBEA7C0YfFtYP4yGplLxPGNxQPAFkK96NSGxmg/9RQa2z4At2+E te7A== 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=/x4cnyRxJEB9rEqBVZiS+hjqI2+SkEy6EcxFoLTW0og=; b=UsWDip2o4kN3fxdra8fi95ZhWgZ40VqK71EPZBbIlnSdjq+WTyR3DuOUc2Y5/BHhx1 gcqUFZInn6/ATpr5QLXz4GdJvrvSzWIEy+yujSjwfMEEQadzi5lgJLQ1NCg3WXC5tcEd l1nnlAsJG0GWpcPM3/GUVCZCX4Z8+NZzVynbVsKIzOxNn3Lmt96U8KsovR4KEZNpbLSx /YWzJXw6hkSW4iOgY19C6sKRTwHtAsCr2tAVek7idCbh6tCz0hFtEFCa1UVYYLFLIZqx dhOwalXGBGcKYxFPd/hf6m8XppswBH7XXTVFg5rWgU6Xs99gBYcglEhZg9iRJCP0ywro TXAw== 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 e12si4911315edc.122.2020.05.28.17.12.08; Thu, 28 May 2020 17:12:30 -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 S2438045AbgE2AKH (ORCPT + 99 others); Thu, 28 May 2020 20:10:07 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-)