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

Function lomac_range_in_range

freebsd/security/mac_lomac/mac_lomac.c:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211static int
212lomac_range_in_range(struct mac_lomac *rangea, struct mac_lomac *rangeb)
213{
214
215 return (lomac_dominate_element(&rangeb->ml_rangehigh,
216 &rangea->ml_rangehigh) &&
217 lomac_dominate_element(&rangea->ml_rangelow,
218 &rangeb->ml_rangelow));
219}
220
221static int
222lomac_single_in_range(struct mac_lomac *single, struct mac_lomac *range)

Callers 1

lomac_cred_check_relabelFunction · 0.85

Calls 1

lomac_dominate_elementFunction · 0.85

Tested by

no test coverage detected