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

Function lomac_atmostflags

freebsd/security/mac_lomac/mac_lomac.c:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static int
158lomac_atmostflags(struct mac_lomac *ml, int flags)
159{
160
161 if ((ml->ml_flags & flags) != ml->ml_flags)
162 return (EINVAL);
163 return (0);
164}
165
166static int
167lomac_dominate_element(struct mac_lomac_element *a,

Callers 5

lomac_cred_check_relabelFunction · 0.85
lomac_pipe_check_relabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected