Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1643360ybf; Sun, 1 Mar 2020 14:38:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwLYQflawOgkx7pv8n8IhMjVjMiXL9c0zstm2lKAFs8f+pI6kAMQUbyJUOHhKv0pJH4BRnr X-Received: by 2002:a9d:63d6:: with SMTP id e22mr11315770otl.185.1583102283459; Sun, 01 Mar 2020 14:38:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583102283; cv=none; d=google.com; s=arc-20160816; b=Zaa/Ht+eaEy5JalUaSP3c3f6IjJW69IvTB2sqrMBq8x7X4VKWU8upVTjeouFEAAgPh jU4t8ifv9m+oyKoB+lJeBNu2KWljgXZu2oXGjPKsP4hCua7c1YgM83bK2BrwwNm8O3if 2VFFWFRjT8Q+TvYnc0O/HAhGsFRSJQ7seBj97QmwsFmmjBrJQKUV6hz43CQYiEy43C0P D+J/kYSmqSm/Tza0x73jJ3zZ+mPpnivEgPUjqvEOZ5kYJM1fmJ5YJ3vdndyQ0fKEz1qm /pR0WBOPnHCZyU5ERM8mF3PQO/fsyZT1lHKRvfUrSWRVv6kCafJzOh6QYCkLKPFm6sRv 9EIQ== 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=ocqRb7d75cCd4WWUoRkxgNPbXtSjwtIPTt/0KThKpgE=; b=gbzuDD1e2d1BG1ybgSO7Z8wOrGM9m9V0f/7S2FAx64AV4VMKTCTT25i7GqbRvx8ltr NFZm0ANmx8qe480jIpztez8ntFl9cOd3jg9eIZ7mYyou/fFe0IteDcGz3aToWtQwi/xJ WXztT0/YP21Zt0mgFuzXlg/jKxSbY/aG3NCoVoZCJr5FtPHdea7sVor32nyDUUUnYFy3 uKID+aJThwC26QMs3dHx+e9K0JKYvlubWHcRwL7b+y+9QWV6BLvx1oU8xVw39n7agc/f FzPBq3K584VA7795ZpjYsxaPRzTiIhIMK/nuL67TR0G+KGPPuHyxmsoWzqRGNjAANzGG TGKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TKFtxdV2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si4853229oic.188.2020.03.01.14.37.29; Sun, 01 Mar 2020 14:38:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TKFtxdV2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbgCAWe2 (ORCPT + 99 others); Sun, 1 Mar 2020 17:34:28 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:40779 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbgCAWe2 (ORCPT ); Sun, 1 Mar 2020 17:34:28 -0500 Received: by mail-lj1-f195.google.com with SMTP id 143so9627899ljj.7 for ; Sun, 01 Mar 2020 14:34:25 -0800 (PST) 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=ocqRb7d75cCd4WWUoRkxgNPbXtSjwtIPTt/0KThKpgE=; b=TKFtxdV2BajveGBQ5nXkbQS8BtNEg2/h92w4Eq13y9E182WzlTMQcFcfdVicOJWci4 QGe9f8rSd1qRr3rMv0YVVAbPfSTGon99nPST9N9YvnSTFZJNIj4k5J/S6Kb05Tjkr8/E eI+gkv5J0ueKbE9DmjV5+GcuW9KrX9639Ibck= 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=ocqRb7d75cCd4WWUoRkxgNPbXtSjwtIPTt/0KThKpgE=; b=LtH8qYN6I9IO7etvRuSaze4AEN+lvk4pfKcL5l27SzHIj4A2MPCVr3kJXOAbbS+Wmj VsvaDYl0OxrkJ4J/F5XAefVzCynnJEZAz+IIGwWOqTzqSd9voRmT02zUnHdNEWbp1SyW d5z8+k+N7V0I9hiSNcwlfxmn+y087AOuEQWP9oi3rGQcJfO95nqcGkVHkjugfM6hxTNj izB9gnP6GKGfHWBMLEqA+RnLI1ph14riSyod5YjSHQLRhRg2lzdjToFuha563H/K0DgO IfEpY7+F03HDL6cLhZV0TEhrlvM2WBcRas+suTOLjjW9Cz07RsQP6GYzJcRGLnomdg2M GzLg== X-Gm-Message-State: ANhLgQ2GqcuJtHPIVQiYxdsDW6oB4fqNjeZeqHVSvt4dx5WXWb8oN0ws nUThjRd14LHeXOcbp7dTGIv2HFwTInfnnQ== X-Received: by 2002:a2e:884d:: with SMTP id z13mr9491955ljj.116.1583102063878; Sun, 01 Mar 2020 14:34:23 -0800 (PST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id r25sm10408060lfn.36.2020.03.01.14.34.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Mar 2020 14:34:23 -0800 (PST) Received: by mail-lj1-f176.google.com with SMTP id a10so1459665ljp.11 for ; Sun, 01 Mar 2020 14:34:22 -0800 (PST) X-Received: by 2002:a2e:9d92:: with SMTP id c18mr9960735ljj.265.1583102062599; Sun, 01 Mar 2020 14:34:22 -0800 (PST) MIME-Version: 1.0 References: <20200223011154.GY23230@ZenIV.linux.org.uk> <20200301215125.GA873525@ZenIV.linux.org.uk> In-Reply-To: <20200301215125.GA873525@ZenIV.linux.org.uk> From: Linus Torvalds Date: Sun, 1 Mar 2020 16:34:06 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCHSET] sanitized pathwalk machinery (v3) To: Al Viro Cc: linux-fsdevel , Linux Kernel Mailing List 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 Sun, Mar 1, 2020 at 3:51 PM Al Viro wrote: > > Extended since the last repost. The branch is in #work.dotdot; > #work.do_last is its beginning (about 2/3 of the total), slightly > reworked since the last time. I'm traveling, so only a quick read-through. One request: can you add the total diffstat to the cover letter (along with what you used as a base)? I did apply it to a branch just to look at it more closely, so I can see the final diffstat that way: Documentation/filesystems/path-lookup.rst | 7 +- fs/autofs/dev-ioctl.c | 6 +- fs/internal.h | 1 - fs/namei.c | 1333 +++++++++------------ fs/namespace.c | 96 +- fs/open.c | 4 +- include/linux/namei.h | 4 +- 7 files changed, 642 insertions(+), 809 deletions(-) but it would have been nice to see in your explanation too. Anyway, from a quick read-through, I don't see anything that raises my hackles - you've fixed the goto label naming, and I didn't notice anything else odd. Maybe that was because I wasn't careful enough. But the final line count certainly speaks for the series.. Linus