46 # include <sys/types.h> 48 # define uid_t unsigned int 49 # define gid_t unsigned int 52 #include "XrdSys/XrdSysPthread.hh" 66 static int ChangeTo(uid_t uid, gid_t gid);
67 static void DumpUGID(
const char *msg = 0);
68 static int Restore(
bool saved = 1);
92 bool Valid()
const {
return valid; }
96 void Init(uid_t uid, gid_t gid);
friend class XrdSysPrivGuard
static int ChangePerm(uid_t uid, gid_t gid)
void Init(TClassEdit::TInterpreterLookupHelper *helper)
static int Restore(bool saved=1)
static void DumpUGID(const char *msg=0)
static int ChangeTo(uid_t uid, gid_t gid)
static XrdSysRecMutex fgMutex