From owner-cvs-all Fri May 10 8:41:29 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BAEAC37B409; Fri, 10 May 2002 08:41:14 -0700 (PDT) Received: (from mux@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4AFfEp14640; Fri, 10 May 2002 08:41:14 -0700 (PDT) (envelope-from mux) Message-Id: <200205101541.g4AFfEp14640@freefall.freebsd.org> From: Maxime Henrion Date: Fri, 10 May 2002 08:41:14 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux 2002/05/10 08:41:14 PDT Modified files: sys/fs/devfs devfs_vnops.c Log: Fix several bugs in devfs_lookupx(). When we check the nameiop to make sure it's a correct operation for devfs, do it only in the ISLASTCN case. If we don't, we are assuming that the final file will be in devfs, which is not true if another partition is mounted on top of devfs or with special filenames (like /dev/net/../../foo). Reviewed by: phk Revision Changes Path 1.39 +3 -3 src/sys/fs/devfs/devfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message