Trusted Solaris Developer's Guide

Clearances

See Chapter 6, Process Clearance.

int getclearance(bclear_t *clearance);
int setclearance(bclear_t *clearance);
void bclearhigh(bclear_t *clearance);
void bclearlow(bclear_t *clearance);
void bclearundef(bclear_t *clearance);
int blequal(const blevel_t *level1, const blevel_t *level2);
int bldominates(const blevel_t *level1, const blevel_t *level2);
int blstrictdom(const blevel_t *level1, const blevel_t *level2);
int blinrange(const blevel_t *level, const brange_t *range);
void blmaximum(blevel_t *maximum_label, const blevel_t *bounding_label);
void blminimum(blevel_t *minimum_label, const blevel_t *bounding_label);
int bltype(const void *clearance, const unsigned char type);
void setbltype(void *clearance, const unsigned char type);
int bclearvalid(const bclear_t *clearance);
int bcleartos(const bclear_t *clearance, char **string, const int len, 
    const int flags);
int stobclear(const char *string, bclear_t *clearance, const int flags, 
    int *error);
char *sbcleartos(const bclear_t *clearance, const int len);
char *bcleartoh(const bclear_t *clearance);
int htobclear(const char *s, bclear_t *clearance);
char *h_alloc(const unsigned char id);
void h_free(char *hex);
char *bcleartoh_r(const bclear_t *clearance, char *hex);