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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"