|
XRootD
|
#include <unistd.h>#include <cctype>#include <cerrno>#include <cstdlib>#include <strings.h>#include <cstdio>#include <grp.h>#include <arpa/inet.h>#include <sys/param.h>#include <sys/socket.h>#include "XrdVersion.hh"#include "XrdAcc/XrdAccAuthorize.hh"#include "XrdAcc/XrdAccConfig.hh"#include "XrdAcc/XrdAccGroups.hh"#include "XrdAcc/XrdAccPrivs.hh"#include "XrdSys/XrdSysError.hh"#include "XrdSys/XrdSysHeaders.hh"#include "XrdSys/XrdSysLogger.hh"#include "XrdNet/XrdNetAddr.hh"#include "XrdOuc/XrdOucEnv.hh"#include "XrdOuc/XrdOucStream.hh"
Include dependency graph for XrdAccTest.cc:Go to the source code of this file.
Classes | |
| struct | optab_t |
Functions | |
| Access_Operation | cmd2op (char *opname) |
| int | DoIt (int argpnt, int argc, char **argv, bool singleshot) |
| int | main (int argc, char **argv) |
| char * | PrivsConvert (XrdAccPrivCaps &ctab, char *buff, int blen) |
| void | SetID (char *&dest, char *val) |
| void | Usage (const char *msg) |
| void | ZapEntity () |
Variables | |
| XrdAccAuthorize * | Authorize |
| int | extra |
| XrdSysLogger | myLogger |
| int | opcnt = sizeof(optab)/sizeof(optab[0]) |
| optab_t | optab [] |
| struct optab_t |
Definition at line 81 of file XrdAccTest.cc.
Collaboration diagram for optab_t:| Class Members | ||
|---|---|---|
| Access_Operation | oper | |
| const char * | opname | |
| Access_Operation cmd2op | ( | char * | opname | ) |
Definition at line 353 of file XrdAccTest.cc.
References AOP_Any, opcnt, optab_t::oper, and optab.
Referenced by DoIt().
Here is the caller graph for this function:| int DoIt | ( | int | argpnt, |
| int | argc, | ||
| char ** | argv, | ||
| bool | singleshot | ||
| ) |
Definition at line 262 of file XrdAccTest.cc.
References XrdAccAuthorize::Access(), AOP_Any, Authorize, cmd2op(), XrdAccPrivCaps::nprivs, XrdAccPrivCaps::pprivs, PrivsConvert(), SetID(), Usage(), XrdAccPriv_None, and ZapEntity().
Referenced by XrdPfc::IO::Detach(), main(), and XrdPfc::ResourceMonitor::perform_purge_check().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 152 of file XrdAccTest.cc.
References XrdOucStream::Attach(), Authorize, DoIt(), XrdOucEnv::Export(), XrdOucStream::GetLine(), XrdOucStream::GetToken(), myLogger, optind, SetID(), tident, Usage(), XrdAccDefaultAuthorizeObject(), and XrdCms::XrdVERSIONINFODEF().
Here is the call graph for this function:| char * PrivsConvert | ( | XrdAccPrivCaps & | ctab, |
| char * | buff, | ||
| int | blen | ||
| ) |
Definition at line 366 of file XrdAccTest.cc.
References XrdAccPrivCaps::nprivs, XrdAccPrivCaps::pprivs, XrdAccPriv_Delete, XrdAccPriv_Insert, XrdAccPriv_Lock, XrdAccPriv_Lookup, XrdAccPriv_None, XrdAccPriv_Read, XrdAccPriv_Rename, and XrdAccPriv_Write.
Referenced by DoIt().
Here is the caller graph for this function:| void SetID | ( | char *& | dest, |
| char * | val | ||
| ) |
Definition at line 123 of file XrdAccTest.cc.
Referenced by DoIt(), and main().
Here is the caller graph for this function:| void Usage | ( | const char * | msg | ) |
Definition at line 105 of file XrdAccTest.cc.
Referenced by XrdOssCache::Adjust(), XrdConfig::Configure(), XrdCmsConfig::Configure1(), DoIt(), XrdOssCache::Init(), main(), XrdCmsCluster::MonPerf(), and XrdOssCache::Scan().
Here is the caller graph for this function:| void ZapEntity | ( | ) |
Definition at line 133 of file XrdAccTest.cc.
Referenced by DoIt().
Here is the caller graph for this function:| XrdAccAuthorize* Authorize |
Definition at line 61 of file XrdAccTest.cc.
Referenced by DoIt(), main(), and XrdPssSys::P2DST().
| int extra |
Definition at line 63 of file XrdAccTest.cc.
Referenced by XrdZip::Extra::Extra().
| XrdSysError eroute & myLogger |
Definition at line 65 of file XrdAccTest.cc.
Referenced by main().
Definition at line 99 of file XrdAccTest.cc.
Referenced by cmd2op().
| optab_t optab[] |
Definition at line 82 of file XrdAccTest.cc.
Referenced by cmd2op().