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

Function mls_atmostflags

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

Source from the content-addressed store, hash-verified

155}
156
157static int
158mls_atmostflags(struct mac_mls *mm, int flags)
159{
160
161 if ((mm->mm_flags & flags) != mm->mm_flags)
162 return (EINVAL);
163 return (0);
164}
165
166static int
167mls_dominate_element(struct mac_mls_element *a, struct mac_mls_element *b)

Callers 6

mls_cred_check_relabelFunction · 0.85
mls_ifnet_check_relabelFunction · 0.85
mls_pipe_check_relabelFunction · 0.85
mls_socket_check_relabelFunction · 0.85
mls_vnode_check_execFunction · 0.85
mls_vnode_check_relabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected