]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: implement permission iop
authorSage Weil <sage@newdream.net>
Mon, 6 Apr 2009 03:30:21 +0000 (20:30 -0700)
committerSage Weil <sage@newdream.net>
Mon, 6 Apr 2009 03:30:21 +0000 (20:30 -0700)
commit3b585ed678beba866776bdaa99fedcf10bd828f0
tree0d05a4d0435e63e8f7e17e50fec23436a4c61bac
parentf7d206dbb53c3f8e426a72e3e2af03fd3d4a9846
kclient: implement permission iop

The permission iop verfies we have a valid uid/gid/mode by checking for
the AUTH cap.  Then calls the generic helper.

This is 100% consistent because we don't carry a cap ref over the
permission checkout.  OTOH, if we don't hold the cap and the mds doesn't
actually issue it, we never will anyway.  Maybe fix this eventually.
src/kernel/dir.c
src/kernel/inode.c
src/kernel/super.h