diff options
author | John Spray <john.spray@redhat.com> | 2015-11-27 13:28:35 +0100 |
---|---|---|
committer | John Spray <john.spray@redhat.com> | 2016-01-05 15:05:04 +0100 |
commit | 94ee1ead0ae8949f67afe832bc3ddb7ae26f0070 (patch) | |
tree | 84f4fc9a2c9929709c6bbb4a2203a252d702ade2 /src/mds/MDSAuthCaps.h | |
parent | mds: fix client root metadata validation (diff) | |
download | ceph-94ee1ead0ae8949f67afe832bc3ddb7ae26f0070.tar.xz ceph-94ee1ead0ae8949f67afe832bc3ddb7ae26f0070.zip |
mds: add docstring for MDSAuthCaps::path_capable
Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to 'src/mds/MDSAuthCaps.h')
-rw-r--r-- | src/mds/MDSAuthCaps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mds/MDSAuthCaps.h b/src/mds/MDSAuthCaps.h index 0ecf8ac4a0a..ccf2857b70b 100644 --- a/src/mds/MDSAuthCaps.h +++ b/src/mds/MDSAuthCaps.h @@ -95,6 +95,12 @@ struct MDSCapMatch { const int caller_uid, const int caller_gid) const; + /** + * Check whether this path *might* be accessible (actual permission + * depends on the stronger check in match()). + * + * @param target_path filesystem path without leading '/' + */ bool match_path(const std::string &target_path) const; }; |