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

Function lomac_dominate_single

freebsd/security/mac_lomac/mac_lomac.c:250–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250static int
251lomac_dominate_single(struct mac_lomac *a, struct mac_lomac *b)
252{
253 KASSERT((a->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0,
254 ("lomac_dominate_single: a not single"));
255 KASSERT((b->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0,
256 ("lomac_dominate_single: b not single"));
257
258 return (lomac_dominate_element(&a->ml_single, &b->ml_single));
259}
260
261static int
262lomac_subject_dominate(struct mac_lomac *a, struct mac_lomac *b)

Callers 12

maybe_demoteFunction · 0.85
lomac_cred_check_visibleFunction · 0.85
lomac_pipe_check_readFunction · 0.85
lomac_proc_check_debugFunction · 0.85
lomac_proc_check_schedFunction · 0.85
lomac_proc_check_signalFunction · 0.85
lomac_vnode_check_mmapFunction · 0.85
lomac_vnode_check_readFunction · 0.85

Calls 1

lomac_dominate_elementFunction · 0.85

Tested by

no test coverage detected