/daten/src/linux-2.4.27-rsbac-v1.2.3/rsbac/adf/daz/dazukoio.h File Reference

Go to the source code of this file.

Data Structures

struct  dazuko_access

Defines

#define DAZUKO_ON_OPEN   1
#define DAZUKO_ON_CLOSE   2
#define DAZUKO_ON_EXEC   4
#define DAZUKO_ON_CLOSE_MODIFIED   8
#define DAZUKO_ON_UNLINK   16
#define DAZUKO_ON_RMDIR   32

Typedefs

typedef dazuko_id dazuko_id_t

Functions

int dazukoRegister (const char *groupName, const char *mode)
int dazukoSetAccessMask (unsigned long accessMask)
int dazukoAddIncludePath (const char *path)
int dazukoAddExcludePath (const char *path)
int dazukoRemoveAllPaths (void)
int dazukoGetAccess (struct dazuko_access **acc)
int dazukoReturnAccess (struct dazuko_access **acc)
int dazukoUnregister (void)
int dazukoRegister_TS (dazuko_id_t **dazuko, const char *groupName, const char *mode)
int dazukoSetAccessMask_TS (dazuko_id_t *dazuko, unsigned long accessMask)
int dazukoAddIncludePath_TS (dazuko_id_t *dazuko, const char *path)
int dazukoAddExcludePath_TS (dazuko_id_t *dazuko, const char *path)
int dazukoRemoveAllPaths_TS (dazuko_id_t *dazuko)
int dazukoGetAccess_TS (dazuko_id_t *dazuko, struct dazuko_access **acc)
int dazukoReturnAccess_TS (dazuko_id_t *dazuko, struct dazuko_access **acc)
int dazukoUnregister_TS (dazuko_id_t **dazuko)


Define Documentation

#define DAZUKO_ON_CLOSE   2
 

Definition at line 40 of file dazukoio.h.

Referenced by dazuko_rsbac_process(), dazuko_sys_check(), dazuko_sys_post(), dazuko_sys_pre(), rsbac_adf_request_daz(), and rsbac_adf_set_attr_daz().

#define DAZUKO_ON_CLOSE_MODIFIED   8
 

Definition at line 42 of file dazukoio.h.

Referenced by dazuko_sys_post(), and dazuko_sys_pre().

#define DAZUKO_ON_EXEC   4
 

Definition at line 41 of file dazukoio.h.

Referenced by dazuko_rsbac_process(), rsbac_adf_request_daz(), and rsbac_adf_set_attr_daz().

#define DAZUKO_ON_OPEN   1
 

Definition at line 39 of file dazukoio.h.

Referenced by dazuko_rsbac_process(), dazuko_sys_check(), dazuko_sys_post(), dazuko_sys_pre(), rsbac_adf_request_daz(), and rsbac_adf_set_attr_daz().

#define DAZUKO_ON_RMDIR   32
 

Definition at line 44 of file dazukoio.h.

Referenced by dazuko_rsbac_process(), rsbac_adf_request_daz(), and rsbac_adf_set_attr_daz().

#define DAZUKO_ON_UNLINK   16
 

Definition at line 43 of file dazukoio.h.

Referenced by dazuko_rsbac_process(), rsbac_adf_request_daz(), and rsbac_adf_set_attr_daz().


Typedef Documentation

typedef struct dazuko_id dazuko_id_t
 

Definition at line 74 of file dazukoio.h.

Referenced by dazuko_set_path(), dazukoAddExcludePath_TS(), dazukoAddIncludePath_TS(), dazukoGetAccess_TS(), dazukoRegister_TS(), dazukoRemoveAllPaths_TS(), dazukoReturnAccess_TS(), dazukoSetAccessMask_TS(), and dazukoUnregister_TS().


Function Documentation

int dazukoAddExcludePath const char *  path  ) 
 

Definition at line 474 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoAddExcludePath_TS().

int dazukoAddExcludePath_TS dazuko_id_t dazuko,
const char *  path
 

Definition at line 479 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, ADD_EXCLUDE_PATH, dazuko_id_t, dazuko_set_path(), and dazukoAddExcludePath_TS_compat12().

Referenced by dazukoAddExcludePath().

int dazukoAddIncludePath const char *  path  ) 
 

Definition at line 459 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoAddIncludePath_TS().

int dazukoAddIncludePath_TS dazuko_id_t dazuko,
const char *  path
 

Definition at line 464 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, ADD_INCLUDE_PATH, dazuko_id_t, dazuko_set_path(), and dazukoAddIncludePath_TS_compat12().

Referenced by dazukoAddIncludePath().

int dazukoGetAccess struct dazuko_access **  acc  ) 
 

Definition at line 550 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoGetAccess_TS().

int dazukoGetAccess_TS dazuko_id_t dazuko,
struct dazuko_access **  acc
 

Definition at line 555 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, DAZUKO_FILENAME_MAX_LENGTH, dazuko_id_t, dazukoGetAccess_TS_compat12_wrapper(), dazukoReturnAccess_TS_compat12_wrapper(), dazuko_id::dev_major, dazuko_id::device, GET_AN_ACCESS, get_value(), dazuko_id::id, ITOA_SIZE, NULL, unescape_string(), and dazuko_id::write_mode.

Referenced by dazukoGetAccess().

int dazukoRegister const char *  groupName,
const char *  mode
 

Definition at line 140 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoRegister_TS().

int dazukoRegister_TS dazuko_id_t **  dazuko,
const char *  groupName,
const char *  mode
 

Definition at line 145 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, dazuko_id_t, dazukoRegister_TS_compat12_wrapper(), get_value(), ITOA_SIZE, NULL, and REGISTER.

Referenced by dazukoRegister().

int dazukoRemoveAllPaths void   ) 
 

Definition at line 489 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoRemoveAllPaths_TS().

int dazukoRemoveAllPaths_TS dazuko_id_t dazuko  ) 
 

Definition at line 494 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, dazuko_id_t, dazukoRemoveAllPaths_TS_compat12(), dazuko_id::dev_major, dazuko_id::device, dazuko_id::id, ITOA_SIZE, NULL, and REMOVE_ALL_PATHS.

Referenced by dazukoRemoveAllPaths().

int dazukoReturnAccess struct dazuko_access **  acc  ) 
 

Definition at line 736 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoReturnAccess_TS().

int dazukoReturnAccess_TS dazuko_id_t dazuko,
struct dazuko_access **  acc
 

Definition at line 741 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, dazuko_id_t, dazukoReturnAccess_TS_compat12_wrapper(), dazuko_id::dev_major, dazuko_id::device, dazuko_id::id, ITOA_SIZE, NULL, RETURN_AN_ACCESS, and dazuko_id::write_mode.

Referenced by dazukoReturnAccess().

int dazukoSetAccessMask unsigned long  accessMask  ) 
 

Definition at line 342 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoSetAccessMask_TS().

int dazukoSetAccessMask_TS dazuko_id_t dazuko,
unsigned long  accessMask
 

Definition at line 347 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, dazuko_id_t, dazukoSetAccessMask_TS_compat12(), dazuko_id::dev_major, dazuko_id::device, dazuko_id::id, ITOA_SIZE, NULL, and SET_ACCESS_MASK.

Referenced by dazukoSetAccessMask().

int dazukoUnregister void   ) 
 

Definition at line 818 of file dazukoio.c.

References _GLOBAL_DAZUKO, and dazukoUnregister_TS().

int dazukoUnregister_TS dazuko_id_t **  dazuko  ) 
 

Definition at line 823 of file dazukoio.c.

References _GLOBAL_DAZUKO_COMPAT12, dazuko_id_t, dazukoUnregister_TS_compat12_wrapper(), ITOA_SIZE, NULL, and UNREGISTER.

Referenced by dazukoUnregister().


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