/daten/src/linux-2.4.27-rsbac-v1.2.3/rsbac/help/res_getname.c File Reference

#include <rsbac/getname.h>
#include <rsbac/res_getname.h>
#include <rsbac/helpers.h>
#include <rsbac/error.h>
#include <string.h>

Go to the source code of this file.

Functions

char * get_res_name (char *name, u_int value)
int get_res_nr (const char *name)

Variables

char res_list [RSBAC_RES_MAX+2][8]


Function Documentation

char* get_res_name char *  name,
u_int  value
 

Definition at line 34 of file res_getname.c.

References NULL, res_list, and RSBAC_RES_MAX.

int get_res_nr const char *  name  ) 
 

Definition at line 46 of file res_getname.c.

References res_list, RSBAC_RES_MAX, and RSBAC_RES_NONE.


Variable Documentation

char res_list[RSBAC_RES_MAX+2][8] [static]
 

Initial value:

{ "cpu", "fsize", "data", "stack", "core", "rss", "nproc", "nofile", "memlock", "as", "locks", "NONE" }
Definition at line 18 of file res_getname.c.

Referenced by get_res_name(), and get_res_nr().


Generated on Tue Aug 31 10:05:28 2004 for RSBAC by doxygen 1.3.8