From owner-cvs-all@FreeBSD.ORG Thu Jan 26 02:29:54 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 752FE16A420; Thu, 26 Jan 2006 02:29:54 +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 25B8F43D46; Thu, 26 Jan 2006 02:29:54 +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 k0Q2TsxW012864; Thu, 26 Jan 2006 02:29:54 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0Q2Tsct012863; Thu, 26 Jan 2006 02:29:54 GMT (envelope-from truckman) Message-Id: <200601260229.k0Q2Tsct012863@repoman.freebsd.org> From: Don Lewis Date: Thu, 26 Jan 2006 02:29:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/sys/kern vfs_lookup.c vfs_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 02:29:54 -0000 truckman 2006-01-26 02:29:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern vfs_lookup.c vfs_syscalls.c Log: MFC vfs_lookup.c 1.84 and 1.85, and vfs_syscalls.c 1.400 Return EINVAL 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. In kern_unlink(), remap EINVAL errors returned from namei() to EPERM to match existing (and POSIX required) behaviour. Revision Changes Path 1.64.2.3 +11 -4 src/sys/kern/vfs_lookup.c 1.356.2.6 +1 -1 src/sys/kern/vfs_syscalls.c