diff options
author | Adam C. Emerson <aemerson@redhat.com> | 2020-03-07 10:30:19 +0100 |
---|---|---|
committer | Adam C. Emerson <aemerson@redhat.com> | 2020-03-07 10:30:19 +0100 |
commit | 189cf36f4bfae9bc9cf363044b93adccda797b37 (patch) | |
tree | 065dd8431581df42a0ab2e50d30023fac5ebe513 /src/mds/MDSAuthCaps.h | |
parent | messages: Build target 'common' without using namespace in headers (diff) | |
download | ceph-189cf36f4bfae9bc9cf363044b93adccda797b37.tar.xz ceph-189cf36f4bfae9bc9cf363044b93adccda797b37.zip |
mds: Build target 'common' without using namespace in headers
Part of a changeset to allow building all of 'common' without relying
on 'using namespace std' or 'using namespace ceph' at toplevel in
headers.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Diffstat (limited to 'src/mds/MDSAuthCaps.h')
-rw-r--r-- | src/mds/MDSAuthCaps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds/MDSAuthCaps.h b/src/mds/MDSAuthCaps.h index 8c5f2bff77f..940d474a846 100644 --- a/src/mds/MDSAuthCaps.h +++ b/src/mds/MDSAuthCaps.h @@ -111,7 +111,7 @@ struct MDSCapMatch { bool match(std::string_view target_path, const int caller_uid, const int caller_gid, - const vector<uint64_t> *caller_gid_list) const; + const std::vector<uint64_t> *caller_gid_list) const; /** * Check whether this path *might* be accessible (actual permission @@ -168,7 +168,7 @@ public: bool allow_all() const; bool is_capable(std::string_view inode_path, uid_t inode_uid, gid_t inode_gid, unsigned inode_mode, - uid_t uid, gid_t gid, const vector<uint64_t> *caller_gid_list, + uid_t uid, gid_t gid, const std::vector<uint64_t> *caller_gid_list, unsigned mask, uid_t new_uid, gid_t new_gid, const entity_addr_t& addr) const; bool path_capable(std::string_view inode_path) const; |