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

Function mls_pipe_relabel

freebsd/security/mac_mls/mac_mls.c:1478–1488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1476}
1477
1478static void
1479mls_pipe_relabel(struct ucred *cred, struct pipepair *pp,
1480 struct label *pplabel, struct label *newlabel)
1481{
1482 struct mac_mls *source, *dest;
1483
1484 source = SLOT(newlabel);
1485 dest = SLOT(pplabel);
1486
1487 mls_copy(source, dest);
1488}
1489
1490static int
1491mls_posixsem_check_openunlink(struct ucred *cred, struct ksem *ks,

Callers

nothing calls this directly

Calls 1

mls_copyFunction · 0.85

Tested by

no test coverage detected