Lines Matching full:label
28 * Miscellaneous user interfaces to trusted label functions.
39 #include <tsol/label.h>
56 * blinset - Check in a label set.
58 * Entry label = Sensitivity Label to check.
59 * id = Label set identifier of set to check.
63 * Returns -1, If label set unavailable, or server failure.
64 * 0, If label not in label set.
65 * 1, If label is in the label set.
73 blinset(const bslabel_t *label, const set_id *id) in blinset() argument
83 if (BLTYPE(label, SUN_SL_ID) && in blinset()
84 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh))) in blinset()
96 incall.label = *label; in blinset()
119 * bslvalid - Check Sensitivity Label for validity.
121 * Entry label = Sensitivity Label to check.
125 * Returns -1, If unable to access label encodings file, or server failure.
126 * 0, If label not valid.
127 * 1, If label is valid.
136 bslvalid(const bslabel_t *label) in bslvalid() argument
150 if (BLTYPE(label, SUN_SL_ID) && in bslvalid()
151 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh))) { in bslvalid()
157 slvcall.label = *label; in bslvalid()
178 * Returns -1, If unable to access label encodings file, or server failure.
179 * 0, If label not valid.
180 * 1, If label is valid.
224 * labelinfo - Get information about the label encodings file.
230 * Returns -1, If unable to access label encodings file, or server failure.
259 * labelvers - Get version string of the label encodings file.
266 * Returns -1, If unable to access label encodings file, or server failure.
324 * bltocolor - get ASCII color name of label.
326 * Entry label = Sensitivity Level of color to get.
332 * Returns NULL, If error (label encodings file not accessible,
333 * invalid label, no color for this label).
335 * defined for the label.
341 bltocolor_r(const blevel_t *label, size_t size, char *color_name) in bltocolor_r() argument
350 ccall.label = *label; in bltocolor_r()
373 * bltocolor - get ASCII color name of label.
375 * Entry label = Sensitivity Level of color to get.
379 * Returns NULL, If error (label encodings file not accessible,
380 * invalid label, no color for this label).
383 * in label.
391 bltocolor(const blevel_t *label) in bltocolor() argument
393 return (bltocolor_r(label, sizeof (color), color)); in bltocolor()
415 * getuserrange - get label range for user