tmpfs - Fix chown for tmpfs
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 May 2010 22:09:50 +0000 (15:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 May 2010 22:09:50 +0000 (15:09 -0700)
commitbd48f29c8b7cc6382382cbbdca9a3134a25db57c
tree7d242b111a20c0311c5c31090cc330604e86e8e5
parent587ed6e3206fcf1f999d2dafb62d4a126bb2dff4
tmpfs - Fix chown for tmpfs

* Replace the manual permission check bits with a call to
  vop_helper_chown().

* Fixes an issue where suid programs were unable to call chown() on
  files in tmpfs.

Reported-by: Francois Tigeot <ftigeot@wolfpond.org>
sys/vfs/tmpfs/tmpfs_subr.c