| 248 | } |
| 249 | |
| 250 | static void |
| 251 | mac_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 | |
| 261 | void |
| 262 | mac_socketpeer_set_from_mbuf(struct mbuf *m, struct socket *so) |
no outgoing calls
no test coverage detected