| 273 | } |
| 274 | |
| 275 | void |
| 276 | mac_socketpeer_set_from_socket(struct socket *oldso, struct socket *newso) |
| 277 | { |
| 278 | |
| 279 | if (mac_policy_count == 0) |
| 280 | return; |
| 281 | |
| 282 | MAC_POLICY_PERFORM_NOSLEEP(socketpeer_set_from_socket, oldso, |
| 283 | oldso->so_label, newso, newso->so_peerlabel); |
| 284 | } |
| 285 | |
| 286 | void |
| 287 | mac_socket_create_mbuf(struct socket *so, struct mbuf *m) |