Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp960710ybm; Fri, 29 May 2020 16:59:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN2SWTRPUMVbr2u0DVLmMNMg/9TTeIfrJkelfOA0EVrvScOxs0CxFKAJ+EoMJ1D2Ea5Uim X-Received: by 2002:aa7:d90e:: with SMTP id a14mr10678248edr.284.1590796753784; Fri, 29 May 2020 16:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590796753; cv=none; d=google.com; s=arc-20160816; b=AsuZwhuliufkvdW3zbRnYfdPrn6j6ZkTz3pMFpNrojJFJ+v9YSPgbbNzz/liIM9cnS W9juANbInzaZlJLSxn0pNbB/1D+nKzzN8CRboto737cVefJSsIePXZfX9uAsp0zTrAEv Def5v6DA45rYVN6NMPXaoJV2pD562EQ1saOhG/a+NNPudqbOY6infi4y6nGomRqnciJp rIe+Flp8VAwQ2lv3ykltltTitzikkxudjwIJZnL2yhXNV01eKq+RlhA9hInG/H/Fd07d vCL44OpZsjzhPY4vvmjRAwC0v9dLHIsWCh55ZRaGI/zAp52BHEQGbID7NKn39KdO5cIg 3bgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5/D552LPCtYn3hG6mSDy6RFyAOe2Q9CIedgAxscSO/w=; b=Ydd1BOYAR30BB9hN3iRCKNR1GKezrpO0qM8Unx/LHVmLfws45/w6mdV6VYx2FuPTKY EtjtMaRBKywZjdTmU7ElZw7zk99nR2DVfbWI70GOMQfaE4Xv9DUmuhZtxGXudeLC+Dsw 3dfhQAzvvnDkiNaYfNRnVx4NbPybSXXEXJTvLnbMxf7i8f3NNyktJ05DiljARrzQVIOC EaS6dNmCfgUqlQ+gqCH/o2DfLGxGVFoe1STQ9JGuRpMDz8vLsELZygFGyZVBFGCmlxue KHPBTH47P6bc9pgbr6sqTrPukRh5Md+Ho0VEQqd/tYyFgenOdro6rrHpkgzIWyRBVicm 4qxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TrTI7pxg; 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 x16si6869058ejc.712.2020.05.29.16.58.50; Fri, 29 May 2020 16:59:13 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TrTI7pxg; 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 S1728486AbgE2Xyz (ORCPT + 99 others); Fri, 29 May 2020 19:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728293AbgE2Xyy (ORCPT ); Fri, 29 May 2020 19:54:54 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84089C03E969 for ; Fri, 29 May 2020 16:54:54 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id k5so1287923lji.11 for ; Fri, 29 May 2020 16:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5/D552LPCtYn3hG6mSDy6RFyAOe2Q9CIedgAxscSO/w=; b=TrTI7pxgWN2mRJvQkgrZJSOALr9y0VXSLbhGTXjJTOtPxbRpbuM221ekLHghLwRPKc 4yruvpBjvjMt7Oc/t4BfFsds7Qc0MkS9/2zCmCg1DGzxkyZxxItJlKqSru+OURADfLEF pbowajAyg5bitEYsnjEo+hF/SUbK91s47IjLc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5/D552LPCtYn3hG6mSDy6RFyAOe2Q9CIedgAxscSO/w=; b=kjcRzIcyeOJJ4EYvbR3dTD0ecya76E/YFpJl+8B7iPM1pnul/pas6WHhrIlG0CEeYf NXyNjI7Bh3xu26fD8hrCQd1Xkw6/fEXIbngBAml5iTdGBEJgIV6w/JCfUsXPIz4nz5Gq z8x7cJaf3hFKbhRpPfNleMIY003VGmzk1XXMvwQooTe6UW3AAOQdP2m19gMeQynk4Ioh AEHCEWT8t0qLZmCYZUF7xedHr65ZbjYh+g+SDJGQDNLYUkje6E18OgTrcBqQnWckl4we X3qIpuyhVNzLKH5TgEdvsMzfOflRg5X7obtHPp8bXssJlrHjPlSIofqgFW0q/g1KtzHj h8kg== X-Gm-Message-State: AOAM530mLNE/OXxaX3IwY3+UlMvjsVUVq6WteF/B3XcPihG75kpSuQwj Rmc7B7D/DmkXPBXfLBO5bwz0Q84fIY8= X-Received: by 2002:a2e:9455:: with SMTP id o21mr5259959ljh.415.1590796492507; Fri, 29 May 2020 16:54:52 -0700 (PDT) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id z13sm2585810lfd.7.2020.05.29.16.54.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 May 2020 16:54:51 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id c11so1352725ljn.2 for ; Fri, 29 May 2020 16:54:51 -0700 (PDT) X-Received: by 2002:a2e:b16e:: with SMTP id a14mr4908890ljm.70.1590796491384; Fri, 29 May 2020 16:54:51 -0700 (PDT) MIME-Version: 1.0 References: <20200528234025.GT23230@ZenIV.linux.org.uk> <20200529232615.GK23230@ZenIV.linux.org.uk> In-Reply-To: <20200529232615.GK23230@ZenIV.linux.org.uk> From: Linus Torvalds Date: Fri, 29 May 2020 16:54:35 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHES] uaccess misc To: Al Viro Cc: Linux Kernel Mailing List , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2020 at 4:26 PM Al Viro wrote: > > The stuff that doesn't fit anywhere else. Hopefully > saner marshalling for weird 7-argument syscalls (pselect6()), That looked fine to me, btw. Looks like an improvement even outside the "avoid __get_user()" and double STAC/CLAC issue. > low-hanging fruit in several binfmt, unsafe_put_user-based > x86 cp_stat64(), etc. - there's really no common topic here. My only complaint was that kvm thing that I think should have gone even further. Linus