helpers.h File Reference

#include <linux/types.h>
#include <rsbac/types.h>

Go to the source code of this file.

Functions

char * inttostr (char[], int)
char * ulongtostr (char[], u_long)
char * u64tostrmac (char[], __u64)
char * get_user_name (rsbac_uid_t user, char *name)
int rsbac_get_uid_name (rsbac_uid_t *uid, char *name, char *sourcename)
int rsbac_get_fullname (char *fullname, rsbac_uid_t uid)
static int rsbac_get_uid (rsbac_uid_t *uid, char *sourcename)
int rsbac_get_gid_name (rsbac_gid_t *gid, char *name, char *sourcename)
static int rsbac_get_gid (rsbac_gid_t *gid, char *sourcename)
char * u64tostrlog (char[], __u64)
__u64 strtou64log (char[], __u64 *)
__u64 strtou64mac (char[], __u64 *)
char * u64tostrrc (char[], __u64)
__u64 strtou64rc (char[], __u64 *)
char * u64tostrrcr (char[], __u64)
__u64 strtou64rcr (char[], __u64 *)
__u64 strtou64acl (char[], __u64 *)
char * u64tostracl (char[], __u64)
char * longtostr (char[], long)


Function Documentation

char* get_user_name rsbac_uid_t  user,
char *  name
 

Definition at line 241 of file helpers.c.

char* inttostr char  [],
int 
 

char* longtostr char  [],
long 
 

int rsbac_get_fullname char *  fullname,
rsbac_uid_t  uid
 

Definition at line 223 of file helpers.c.

References RSBAC_EINVALIDPOINTER.

static int rsbac_get_gid rsbac_gid_t gid,
char *  sourcename
[inline, static]
 

Definition at line 35 of file helpers.h.

References NULL, and rsbac_get_gid_name().

int rsbac_get_gid_name rsbac_gid_t gid,
char *  name,
char *  sourcename
 

Definition at line 256 of file helpers.c.

References RSBAC_EINVALIDVALUE.

Referenced by rsbac_get_gid().

static int rsbac_get_uid rsbac_uid_t uid,
char *  sourcename
[inline, static]
 

Definition at line 28 of file helpers.h.

References NULL, and rsbac_get_uid_name().

int rsbac_get_uid_name rsbac_uid_t uid,
char *  name,
char *  sourcename
 

Definition at line 190 of file helpers.c.

References RSBAC_EINVALIDVALUE.

Referenced by rsbac_get_uid().

__u64 strtou64acl char  [],
__u64 * 
 

__u64 strtou64log char  [],
__u64 * 
 

__u64 strtou64mac char  [],
__u64 * 
 

__u64 strtou64rc char  [],
__u64 * 
 

__u64 strtou64rcr char  [],
__u64 * 
 

char* u64tostracl char  [],
__u64 
 

char* u64tostrlog char  [],
__u64 
 

char* u64tostrmac char  [],
__u64 
 

char* u64tostrrc char  [],
__u64 
 

char* u64tostrrcr char  [],
__u64 
 

char* ulongtostr char  [],
u_long 
 


Generated on Fri Jun 17 09:45:27 2005 for RSBAC by  doxygen 1.4.2