The kernel permissions check code was not checking deletability for
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 May 2009 06:08:19 +0000 (23:08 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 May 2009 06:22:23 +0000 (23:22 -0700)
commitbf022891f1bce0d30f855b81f313e820c938f70a
tree86591a2f137b2a66393a81139f8fcd1f8fe29707
parent5dedb299e639500966e4bb5d104da3bc5f3960ab
The kernel permissions check code was not checking deletability for
the rename source or the directory sticky bit for rename targets which
existed.

This only effected HAMMER which assumes the kernel is responsible for
permissions checks.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
sys/kern/vfs_nlookup.c
sys/kern/vfs_syscalls.c
sys/sys/nlookup.h
sys/sys/vnode.h
sys/vfs/nfs/nfs_subs.c