Date: Sun, 22 Jan 2006 19:37:02 +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: <200601221937.k0MJb2Cc062119@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
truckman 2006-01-22 19:37:02 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c vfs_syscalls.c Log: Tweak previous vfs_lookup.c commit to return an EINVAL error from lookup() instead of EPERM when a DELETE or RENAME operation is attempted on "..". In kern_unlink(), remap EINVAL errors returned from namei() to EPERM to match existing (and POSIX required) behaviour. Discussed with: bde MFC after: 3 days Revision Changes Path 1.85 +1 -1 src/sys/kern/vfs_lookup.c 1.400 +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?200601221937.k0MJb2Cc062119>