|
xrootd
|
#include <XrdSysPriv.hh>

Public Member Functions | |
| virtual | ~XrdSysPriv () |
Static Public Member Functions | |
| static int | ChangePerm (uid_t uid, gid_t gid) |
Private Member Functions | |
| XrdSysPriv () | |
Static Private Member Functions | |
| static int | ChangeTo (uid_t uid, gid_t gid) |
| static void | DumpUGID (const char *msg=0) |
| static int | Restore (bool saved=1) |
Static Private Attributes | |
| static XrdSysRecMutex | fgMutex |
| static bool | fDebug = 0 |
Friends | |
| class | XrdSysPrivGuard |
| XrdSysPriv::XrdSysPriv | ( | ) | [private] |
| virtual XrdSysPriv::~XrdSysPriv | ( | ) | [inline, virtual] |
| int XrdSysPriv::ChangePerm | ( | uid_t | uid, |
| gid_t | gid | ||
| ) | [static] |
References getresgid(), getresuid(), XrdSysMutex::Lock(), Restore(), setresgid(), setresuid(), XrdSysMutex::UnLock(), and XSPERR.
| int XrdSysPriv::ChangeTo | ( | uid_t | uid, |
| gid_t | gid | ||
| ) | [static, private] |
References getresgid(), getresuid(), NOGC, NOUC, Restore(), setresgid(), setresuid(), and XSPERR.
Referenced by XrdSysPrivGuard::Init().
| void XrdSysPriv::DumpUGID | ( | const char * | msg = 0 | ) | [static, private] |
References getresgid(), getresuid(), XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdSysPrivGuard::Init().
| int XrdSysPriv::Restore | ( | bool | saved = 1 | ) | [static, private] |
References getresgid(), getresuid(), NOGC, NOUC, setresgid(), setresuid(), and XSPERR.
Referenced by ChangePerm(), ChangeTo(), and XrdSysPrivGuard::~XrdSysPrivGuard().
friend class XrdSysPrivGuard [friend] |
bool XrdSysPriv::fDebug = 0 [static, private] |
Referenced by XrdSysPrivGuard::Init().
XrdSysRecMutex XrdSysPriv::fgMutex [static, private] |
1.7.3