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:08:19 +0000 (23:08 -0700)
commit945b476ab592fbe1bf771d4a3008be2e1a8ae495
tree804e524cc9e4766260566c7cba003ade5ad901f2
parent9a9d7f1d1d0346de729140f00a18aba87aa40604
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