rpm  5.4.14
Functions
#include "system.h"
#include "ugid.h"
#include "debug.h"
Include dependency graph for ugid.c:

Go to the source code of this file.

Functions

int unameToUid (const char *thisUname, uid_t *uid)
 
int gnameToGid (const char *thisGname, gid_t *gid)
 
char * uidToUname (uid_t uid)
 
char * gidToGname (gid_t gid)
 

Function Documentation

char* gidToGname ( gid_t  gid)

Definition at line 171 of file ugid.c.

References DRD_xrealloc, len, and NULL.

Referenced by rpmvfVerify(), statFormat(), tarHeaderWrite(), and unsatisfiedDepend().

int gnameToGid ( const char *  thisGname,
gid_t *  gid 
)

Definition at line 71 of file ugid.c.

References DRD_xrealloc, NULL, and strcmp().

Referenced by for(), fsmMapAttrs(), iosmMapAttrs(), rpmfiFStat(), rpmvfNew(), unsatisfiedDepend(), and xarGid().

char* uidToUname ( uid_t  uid)

Definition at line 135 of file ugid.c.

References DRD_xrealloc, len, and NULL.

Referenced by rpmvfVerify(), statFormat(), tarHeaderWrite(), and unsatisfiedDepend().

int unameToUid ( const char *  thisUname,
uid_t *  uid 
)

Definition at line 16 of file ugid.c.

References DRD_xrealloc, NULL, and strcmp().

Referenced by for(), fsmMapAttrs(), iosmMapAttrs(), rpmfiFStat(), rpmvfNew(), unsatisfiedDepend(), and xarUid().