MCPcopy Create free account
hub / github.com/F-Stack/f-stack / biba_externalize_label

Function biba_externalize_label

freebsd/security/mac_biba/mac_biba.c:617–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static int
618biba_externalize_label(struct label *label, char *element_name,
619 struct sbuf *sb, int *claimed)
620{
621 struct mac_biba *mb;
622
623 if (strcmp(MAC_BIBA_LABEL_NAME, element_name) != 0)
624 return (0);
625
626 (*claimed)++;
627
628 mb = SLOT(label);
629 return (biba_to_string(sb, mb));
630}
631
632static int
633biba_parse_element(struct mac_biba_element *element, char *string)

Callers

nothing calls this directly

Calls 2

strcmpFunction · 0.85
biba_to_stringFunction · 0.85

Tested by

no test coverage detected