Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp4122017pxb; Tue, 7 Sep 2021 15:37:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxF6tGESn8cIBgCmkFT6VeXMiAukFM/x9+wFwJ20kMw+eSniMxcKUAxAQ9A0P2cuczfzd+V X-Received: by 2002:a17:906:249a:: with SMTP id e26mr660701ejb.221.1631054249661; Tue, 07 Sep 2021 15:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631054249; cv=none; d=google.com; s=arc-20160816; b=YfiLx9gA9rFuUnNPvPE47kO56wTJv/qlyUFMS6i2Y4B+r+1NYVKeMA9nFYpmh6hXca jp+cMkBMKcaEquYsR12w0SyUx8mHnnp9GIBuAi2MR29nq+sJZ6Dnz90Ncx8cMjEzcQMJ sOnL1QnwAGmsAxfI06yiuLmgMrYLw3kEzky2wmlmO9WPsBUVmDbAGaESDDZxgcEn84zM FgqUnUwjuNM3Ohxgz4XoYFNQzSasRwcitqkHctxtElJ/XgSeNyoOI/qd8V/bhuAx4vfR v6jRxRXUfVCeNKp5JQ0R6VGZY8JHIADip3zx1+zx2xcV0pAkcrdhfRi2PB4530yO9l6f t4tA== 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=xgC8oV+YtnHVYpC3z2rXHomcUC364eCcNKUMYSTGWyw=; b=XOgJjWOcgfapkyTthvQA4Hj27UqvTIZ96Gz0e/WgJbEd7PXnK6OxAwUm2gMyUAS0KL L8j+IHxpKpcKKDOaONh3bTakz9ND8kjlwjz37HalrbGhbLN26BwIDXrQ2FYXBuqHkFKZ KvQNI6hFMPeKQlnJq+S0Vm+kYN9wx4lcUlGuS14rrr0DIMduhtNZsRZTFo5rkajtuOXu wing0TwWs7HfIQVii/T3XkdRodCQgmUnK0sjWJwykLdpGYrqVZPSFHtXiBv4V9OkPnDl gkewtx7h49FxYAOrKSYJkgK3Fb220gQW+IjOmPXd8Gt3HrOTtBudGUGEYe0SnutEVHtb 7sWA== 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 dn17si332926edb.435.2021.09.07.15.37.07; Tue, 07 Sep 2021 15:37:29 -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 S238931AbhIGVzy (ORCPT + 99 others); Tue, 7 Sep 2021 17:55:54 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:49766 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232037AbhIGVzx (ORCPT ); Tue, 7 Sep 2021 17:55:53 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNj3G-0028IM-2x; Tue, 07 Sep 2021 21:54:46 +0000 Date: Tue, 7 Sep 2021 21:54:46 +0000 From: Al Viro To: Stephen Brennan Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] namei: fix use-after-free and adjust calling conventions Message-ID: References: <20210901175144.121048-1-stephen.s.brennan@oracle.com> <87tuiwrrhn.fsf@stepbren-lnx.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tuiwrrhn.fsf@stepbren-lnx.us.oracle.com> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 07, 2021 at 02:43:48PM -0700, Stephen Brennan wrote: > >From the links in the blame it seems this was suggested by Linus > here[1]. The core frustration having been with the state of > __filename_create() and friends freeing filenames at different times > depending on whether an error occurred. Sure, but that's an argument for IS_ERR(), not the IS_ERR_OR_NULL() shite...