Lines Matching refs: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.
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)
83 if (BLTYPE(label, SUN_SL_ID) &&
84 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh)))
96 incall.label = *label;
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)
150 if (BLTYPE(label, SUN_SL_ID) &&
151 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh))) {
157 slvcall.label = *label;
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)
350 ccall.label = *label;
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)
393 return (bltocolor_r(label, sizeof (color), color));
415 * getuserrange - get label range for user