Date: Thu, 26 Jan 2006 02:29:54 +0000 (UTC) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_lookup.c vfs_syscalls.c Message-ID: <200601260229.k0Q2Tsct012863@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601260229.k0Q2Tsct012863>