Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1182469ybv; Thu, 20 Feb 2020 15:01:10 -0800 (PST) X-Google-Smtp-Source: APXvYqxDnqjx5GpgZ8FGruvaibhlOlcnM7H0jtESwdPXhqo+f0LjbpfWD7k5NoKR1K5ZwXBYlakm X-Received: by 2002:aca:b703:: with SMTP id h3mr3829511oif.148.1582239670299; Thu, 20 Feb 2020 15:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582239670; cv=none; d=google.com; s=arc-20160816; b=ZPeyA9YFf1czZPj5wAJw5h3ofiARHH+s4qAwYYAbqzFfD2SqUJEwHyTHOfyQLJL8pl yZEJZCGv/OhDGkbG1CcZd2ZyDH+NxHnCIM7HGDtYkyospTnlG+UJ2GiipSngBOsNY7cp 6fmMl9WWfRZoDUHd7W9hoELe2DLgyzaOMXFfhEW7Jho7jD+0yuc4l76wBwXZrB6p37TM pZhmvllFhnQaEYHd+mSjZwets6cbhHC3wV5IwYiOQFItW5T4qg36tzdfz19i6rNECHMv EWZr2Gvc/HMnN9lb2hUakQFcCZFfOFskcgm2q7VJSRo9kKEC5Sq56VmzlM+xgmXLoUVt X6Qg== 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=oW+dHyuXcdgcpFOp9rkCYNNzyvxL/1mmVUWMW1tVkn8=; b=ArnJ0K6dY3OeDwG1fTQTvPbkV02yPrVJj53TBkXHnVeY/fV4xnbQWT0PKQt3Uoqj5C z95TtzSJIGYqFEGKsO/0CI0fWRKhtk8Eh8UeBoR3riSrB3caTQ7x9I7saRsxhdxUP+7u xk9LkeFI3Iij9LbciT40cH1m0GaJdhviTReVNcWMPryT1v5Dj38AvOc4W7bKD8z2SZsv 3npj7Kn9Y/D+VyQqY2Bzr47xbRkVuYoLrrQXOmdp121g+jH0P7JX0eNSxb5M7YwJ3dHu L9FbSR9cMrwKnWIwJHs7XCYWIPbysdp/4WgMXiuFDOT2HdHaWFSmQyvg+EOVwecGi9eu 6emQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=HsJYplXH; 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 b8si426405otf.32.2020.02.20.15.00.56; Thu, 20 Feb 2020 15:01:10 -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=HsJYplXH; 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 S1729230AbgBTXAg (ORCPT + 99 others); Thu, 20 Feb 2020 18:00:36 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45299 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727135AbgBTXAf (ORCPT ); Thu, 20 Feb 2020 18:00:35 -0500 Received: by mail-lj1-f195.google.com with SMTP id e18so166436ljn.12 for ; Thu, 20 Feb 2020 15:00:34 -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=oW+dHyuXcdgcpFOp9rkCYNNzyvxL/1mmVUWMW1tVkn8=; b=HsJYplXHj9WIosfuyYDxgCIpizr4Q2QTncG0r8kQoBcqx1jdtsR9fFVeYAPGlhnI5Y 7UWBHhKU9LT9oEd08VowjnmWRULPbdq+faWGzRjHU4lCzwffnnc4X3O8+YTbupxrOXam he3lTa6POmGxUb6ylyx451mYPhWfQQq6/MfdM= 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=oW+dHyuXcdgcpFOp9rkCYNNzyvxL/1mmVUWMW1tVkn8=; b=geEL0LwjBGWKCMrDMeQOR2XMIkhrN97TRkl3NDuhGBtskzpwwpxLPS9f03RzCmTDgs wz06DXUNwybEpiO4CRS3Hn5PBUEhkg0VRd2iOT+Ko1afQvuCiGc0tAtKnbI8u7ElexwG 36hFV8Jie/hwnTleBYmfAjcfYf1Qg66xCvHRry/YbKV5ibA9EJWFx/MurXLBQUSX0Bq3 cTOA6Nbw4Yk+AsMNdEvEsdRNuiuHUBu4TNQz/v0hV4Pk6ZH557Oli0ESDf+0NICag0Ju 3vEJhm/zB9DYvdSuy5ZgPK5FMAGDTEYKhNAU3w2Nlk9QmOYt97yJjeuc4P/ONUUMaJDB GoHQ== X-Gm-Message-State: APjAAAXOIgfp7Y9y1DJ0ogN/0MLN3U8e/hy4UTyaxzdzwMrvaXql8OCs MEkm4foDd7qORuqPiEGrkItdz78KsLQ= X-Received: by 2002:a2e:b4f6:: with SMTP id s22mr19041327ljm.218.1582239632310; Thu, 20 Feb 2020 15:00:32 -0800 (PST) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by smtp.gmail.com with ESMTPSA id m21sm492516lfb.59.2020.02.20.15.00.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2020 15:00:30 -0800 (PST) Received: by mail-lj1-f169.google.com with SMTP id q8so172693ljj.11 for ; Thu, 20 Feb 2020 15:00:30 -0800 (PST) X-Received: by 2002:a2e:88c5:: with SMTP id a5mr20496205ljk.201.1582239629960; Thu, 20 Feb 2020 15:00:29 -0800 (PST) MIME-Version: 1.0 References: <20200212200335.GO23230@ZenIV.linux.org.uk> <20200212203833.GQ23230@ZenIV.linux.org.uk> <20200212204124.GR23230@ZenIV.linux.org.uk> <87lfp7h422.fsf@x220.int.ebiederm.org> <87pnejf6fz.fsf@x220.int.ebiederm.org> <871rqpaswu.fsf_-_@x220.int.ebiederm.org> <87blpt9e6m.fsf_-_@x220.int.ebiederm.org> <20200220225420.GR23230@ZenIV.linux.org.uk> In-Reply-To: <20200220225420.GR23230@ZenIV.linux.org.uk> From: Linus Torvalds Date: Thu, 20 Feb 2020 15:00:13 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/7] proc: Use d_invalidate in proc_prune_siblings_dcache To: Al Viro Cc: "Eric W. Biederman" , LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexey Dobriyan , Andrew Morton , Andy Lutomirski , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton , Jonathan Corbet , Kees Cook , Oleg Nesterov , Solar Designer 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 Thu, Feb 20, 2020 at 2:54 PM Al Viro wrote: > > s/no inode.*/it's a directory inode./ That actually makes my worry go away too. We don't allow aliases for directory inodes, iirc. So then it doesn't depend on some /proc implementation issue any more, then it's fundamental that there's only one dentry. Linus