#include "XrdSys/XrdSysPriv.hh"
#include <stdio.h>
#include "XrdSys/XrdSysHeaders.hh"
#include <unistd.h>
#include <pwd.h>
#include <errno.h>
Go to the source code of this file.
Defines | |
#define | NOUC ((uid_t)(-1)) |
#define | NOGC ((gid_t)(-1)) |
#define | XSPERR(x) ((x == 0) ? -1 : -x) |
Functions | |
static int | setresgid (gid_t r, gid_t e, gid_t) |
static int | setresuid (uid_t r, uid_t e, uid_t) |
static int | getresgid (gid_t *r, gid_t *e, gid_t *) |
static int | getresuid (uid_t *r, uid_t *e, uid_t *) |
Variables | |
const char * | XrdSysPrivCVSID = "$Id: XrdSysPriv.cc 30949 2009-11-02 16:37:58Z ganis $" |
#define NOGC ((gid_t)(-1)) |
Definition at line 34 of file XrdSysPriv.cc.
Referenced by XrdSysPriv::ChangeTo(), XrdSysPriv::Restore(), and setresgid().
#define NOUC ((uid_t)(-1)) |
Definition at line 33 of file XrdSysPriv.cc.
Referenced by XrdSysPriv::ChangeTo(), XrdSysPriv::Restore(), and setresuid().
Definition at line 35 of file XrdSysPriv.cc.
Referenced by XrdSysPriv::ChangePerm(), XrdSysPriv::ChangeTo(), XrdSysPriv::Restore(), setresgid(), and setresuid().
static int getresgid | ( | gid_t * | r, | |
gid_t * | e, | |||
gid_t * | ||||
) | [static] |
Definition at line 71 of file XrdSysPriv.cc.
Referenced by XrdSysPriv::ChangePerm(), XrdSysPriv::ChangeTo(), XrdSysPriv::DumpUGID(), XrdSysPrivGuard::Init(), and XrdSysPriv::Restore().
static int getresuid | ( | uid_t * | r, | |
uid_t * | e, | |||
uid_t * | ||||
) | [static] |
Definition at line 78 of file XrdSysPriv.cc.
Referenced by XrdSysPriv::ChangePerm(), XrdSysPriv::ChangeTo(), XrdSysPriv::DumpUGID(), XrdSysPrivGuard::Init(), and XrdSysPriv::Restore().
static int setresgid | ( | gid_t | r, | |
gid_t | e, | |||
gid_t | ||||
) | [static] |
static int setresuid | ( | uid_t | r, | |
uid_t | e, | |||
uid_t | ||||
) | [static] |
const char* XrdSysPrivCVSID = "$Id: XrdSysPriv.cc 30949 2009-11-02 16:37:58Z ganis $" |
Definition at line 10 of file XrdSysPriv.cc.