From owner-freebsd-bugs Sat Jul 13 12:46:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 001D037B400; Sat, 13 Jul 2002 12:46:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63AA43E5E; Sat, 13 Jul 2002 12:46:08 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: from freefall.freebsd.org (dwmalone@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6DJk8JU036515; Sat, 13 Jul 2002 12:46:08 -0700 (PDT) (envelope-from dwmalone@freefall.freebsd.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6DJk8uW036511; Sat, 13 Jul 2002 12:46:08 -0700 (PDT) Date: Sat, 13 Jul 2002 12:46:08 -0700 (PDT) From: David Malone Message-Id: <200207131946.g6DJk8uW036511@freefall.freebsd.org> To: dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org, dwmalone@FreeBSD.org Subject: Re: kern/39331: namei cache unreliable for __getcwd() Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: namei cache unreliable for __getcwd() Responsible-Changed-From-To: freebsd-bugs->dwmalone Responsible-Changed-By: dwmalone Responsible-Changed-When: Sat Jul 13 12:42:27 PDT 2002 Responsible-Changed-Why: I'm interested in these interactions with the name cache. I think that the current purging of the name cache associated with the moving/removal of a directory is probably unnecessary and the real thing to do here may be to check the permessions in the kernel code which does real path. I don't think it is possible for the name cache to return out of date info though, it may just return info which you might not be able to determine purely from userland. David. http://www.freebsd.org/cgi/query-pr.cgi?pr=39331 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message