HAMMER 48/Many: finish vop_setattr support, ncreate/nmknod/etc, minor bug fixes.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 25 May 2008 18:41:33 +0000 (18:41 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 25 May 2008 18:41:33 +0000 (18:41 +0000)
commit7538695e09a795369c3b21f03905dcd37ddcf3c3
tree74598db952a1a1412fa41fd7888577ae4a2b0c95
parentf7179e23a55650a75bdc326644dc3189a7ed202a
HAMMER 48/Many: finish vop_setattr support, ncreate/nmknod/etc, minor bug fixes.

* Properly set the initial uid and gid when creating a new filesystem object.

* Finish implementing hammer_vop_setattr().  Use the new VOP helper functions
  to validate the cred for chmod, chown, and chgrp operations, and to clear
  suid/sgid when a file's owner/group is changed.

Reported-by: Francois Tigeot <ftigeot@wolfpond.org>
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_subs.c
sys/vfs/hammer/hammer_vnops.c