Lines Matching refs:label
29 * lslabels - Display all labels dominating the specified label.
43 #include <tsol/label.h>
75 bitfinder(m_label_t label, int next_bit) {
78 Compartments_t *comps = &label.compartments;
82 bitfinder(label, next_bit + 1);
85 if (label_to_str(&label, &labelstr, M_LABEL,
96 (void) label_to_str(&label,
104 bitfinder(label, next_bit + 1);
122 gettext("lslabels: bad previous label\n"));
141 m_label_t *label = NULL; /* binary labels */
142 char ascii[PIPE_BUF]; /* human readable label */
143 char *labelstr = NULL; /* external label to start from */
144 int err = 0; /* label error */
171 gettext("usage: %s [-h] [label]\n"),
178 /* use label on command line */
182 /* read label from standard input */
184 perror(gettext("reading ASCII coded label"));
200 if (str_to_label(ascii, &label, MAC_LABEL, L_NO_CORRECTION,
204 if (label_to_str(label, &labelstr, mode,
209 level = &label->classification.class_u.class_chunk;
211 bitfinder(*label, 0);
214 m_label_free(label);