| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
|
|
| |
For controlling whether a client is allowed to create or delete
snapshots
Fixes: http://tracker.ceph.com/issues/24284
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
|
|
|
|
|
|
|
| |
Added const references to various function parameters in order to avoid
copying data unnecessarily and enhancing performance
Signed-off-by: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
|
|
|
|
|
|
| |
This is necessary to allow many interfaces to take mempool allocated strings.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/19075
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
|
|
| |
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
|
|
|
|
|
|
|
| |
Use explicit keyword for constructors with one argument to
prevent implicit usage as conversion functions.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
|
|
|
|
| |
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
|
|
|
|
|
|
|
| |
To allow us to query whether a client is
potentially capable of accessing a particular
path, ignoring uids/gids (used to validate
the client's claims about its mounted root)
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
|
|
|
|
|
| |
For controlling whether a client is allowed
to modify the pool field in file/dir layouts.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
|
|
|
|
|
|
| |
The check is a no-op. We already verify the uid/gid combo is valid and
that the dir is writeable with MAY_WRITE. The new file is always set to
the caller uid:gid.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
Verify both the caller uid and gid are a match for the given rule.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
| |
|
|
|
|
| |
Signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
|
|
|
|
|
|
| |
Empty path is '', not '/'.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
| |
signed-off-by: Nishtha Rai <nishtha3rai@gmail.com>
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
|
| |
Use an empty string for no path--this is more efficient. This generalizes
to losing any leading '/' character.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
We will need this to evaluate the unix permissions.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
|
| |
int64_t for uid, so we can do a negative "none" value.
gid_t (uint32_t) for gid.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
Also, fix this so that 'any' implies that we can read or write.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
|
| |
CID 1244228: Uninitialized scalar field (UNINIT_CTOR)
/mds/MDSAuthCaps.h: 29 in MDSCapSpec::MDSCapSpec()()
Signed-off-by: Greg Farnum <greg@inktank.com>
|
|
|
|
| |
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
Signed-off-by: John Spray <john.spray@redhat.com>
|