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

Function mac_socket_relabel

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

Source from the content-addressed store, hash-verified

248}
249
250static void
251mac_socket_relabel(struct ucred *cred, struct socket *so,
252 struct label *newlabel)
253{
254
255 SOCK_LOCK_ASSERT(so);
256
257 MAC_POLICY_PERFORM_NOSLEEP(socket_relabel, cred, so, so->so_label,
258 newlabel);
259}
260
261void
262mac_socketpeer_set_from_mbuf(struct mbuf *m, struct socket *so)

Callers 1

mac_socket_label_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected