From owner-cvs-src@FreeBSD.ORG Sat Jan 21 19:57:56 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7863916A41F; Sat, 21 Jan 2006 19:57:56 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3245A43D45; Sat, 21 Jan 2006 19:57:56 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0LJvutu013926; Sat, 21 Jan 2006 19:57:56 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0LJvuUx013925; Sat, 21 Jan 2006 19:57:56 GMT (envelope-from truckman) Message-Id: <200601211957.k0LJvuUx013925@repoman.freebsd.org> From: Don Lewis Date: Sat, 21 Jan 2006 19:57:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2006 19:57:56 -0000 truckman 2006-01-21 19:57:56 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c Log: Return EPERM from lookup() if cn_nameiop is DELETE or RENAME and the last component of the path name is "..". This keeps VOP_LOOKUP() from locking vnodes in reverse order. Tested by: Denis Shaposhnikov MFC after: 3 days Revision Changes Path 1.84 +11 -4 src/sys/kern/vfs_lookup.c