| 580 | } |
| 581 | |
| 582 | static int |
| 583 | mls_externalize_label(struct label *label, char *element_name, |
| 584 | struct sbuf *sb, int *claimed) |
| 585 | { |
| 586 | struct mac_mls *mm; |
| 587 | |
| 588 | if (strcmp(MAC_MLS_LABEL_NAME, element_name) != 0) |
| 589 | return (0); |
| 590 | |
| 591 | (*claimed)++; |
| 592 | |
| 593 | mm = SLOT(label); |
| 594 | |
| 595 | return (mls_to_string(sb, mm)); |
| 596 | } |
| 597 | |
| 598 | static int |
| 599 | mls_parse_element(struct mac_mls_element *element, char *string) |
nothing calls this directly
no test coverage detected