]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: add pick_my_perms() function for implementers
authorGreg Farnum <gfarnum@redhat.com>
Wed, 29 Jun 2016 00:02:42 +0000 (17:02 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 31 Aug 2016 21:33:32 +0000 (14:33 -0700)
commit990dd5e95debdbc3ca3c2ca751df05347970c128
treed87c737776a9e8a70ade9882987480150d95a3d9
parent084e7aee13d5a0364ce412517e8bc471f640b92e
client: add pick_my_perms() function for implementers

We need to get rid of the internal uid/gid selection and switch to
permission-checking that handles multiple groups -- while also preserving
the client_mount_(uid|gid) config params. So expose a function which
can be called externally that replicates our current uid/gid selection,
but uses our new UserPerm struct.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.h