ewmscp
..
|
class for handling non-opaque gpfs acls More...
#include <gpfsFcntlHandler.h>
Public Member Functions | |
gpfs_acl_handler () | |
creates struct for getAcl More... | |
gpfs_acl_handler (gpfs_aclCount_t nEntries) | |
creates struct for putAcl More... | |
gpfs_acl_t & | acl () |
size_t | size () const |
const gpfs_ace_v4_t * | begin () const |
const gpfs_ace_v4_t * | end () const |
gpfs_ace_v4_t * | begin () |
gpfs_ace_v4_t * | end () |
void | get (int fd, const std::string &path) |
void | set (int fd, const std::string &path) |
Private Attributes | |
union { | |
char justTheSpace [0x10000] | |
gpfs_acl_t acl | |
} | buffer |
class for handling non-opaque gpfs acls
Definition at line 33 of file gpfsFcntlHandler.h.
gpfs_acl_handler::gpfs_acl_handler | ( | ) |
gpfs_acl_handler::gpfs_acl_handler | ( | gpfs_aclCount_t | nEntries | ) |
|
inline |
Definition at line 41 of file gpfsFcntlHandler.h.
References buffer.
gpfs_ace_v4_t* gpfs_acl_handler::begin | ( | ) |
gpfs_ace_v4_t * gpfs_acl_handler::begin | ( | ) | const |
Definition at line 70 of file gpfsFcntlHandler.cpp.
References buffer.
Referenced by outputHandler::Gpfs::writerGpfs::setAclData().
gpfs_ace_v4_t* gpfs_acl_handler::end | ( | ) |
gpfs_ace_v4_t * gpfs_acl_handler::end | ( | ) | const |
void gpfs_acl_handler::get | ( | int | fd, |
const std::string & | path | ||
) |
Definition at line 99 of file gpfsFcntlHandler.cpp.
References buffer, throwcall::good0(), and timerInst.
Referenced by gpfsIoCommon::getAclData(), and inputHandler::Gpfs::getAclData().
void gpfs_acl_handler::set | ( | int | fd, |
const std::string & | path | ||
) |
Definition at line 123 of file gpfsFcntlHandler.cpp.
References buffer, throwcall::good0(), and timerInst.
Referenced by outputHandler::Gpfs::writerGpfs::setAclData().
|
inline |
Definition at line 44 of file gpfsFcntlHandler.h.
References buffer.
Referenced by gpfsIoCommon::aclFromGpfs().
gpfs_acl_t gpfs_acl_handler::acl |
Definition at line 36 of file gpfsFcntlHandler.h.
union { ... } gpfs_acl_handler::buffer |
char gpfs_acl_handler::justTheSpace[0x10000] |
Definition at line 35 of file gpfsFcntlHandler.h.