| 300 | } |
| 301 | |
| 302 | void |
| 303 | mac_ifnet_create(struct ifnet *ifp) |
| 304 | { |
| 305 | int locked; |
| 306 | |
| 307 | if (mac_policy_count == 0) |
| 308 | return; |
| 309 | |
| 310 | MAC_IFNET_LOCK(ifp, locked); |
| 311 | MAC_POLICY_PERFORM_NOSLEEP(ifnet_create, ifp, ifp->if_label); |
| 312 | MAC_IFNET_UNLOCK(ifp, locked); |
| 313 | } |
| 314 | |
| 315 | void |
| 316 | mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d) |
no outgoing calls
no test coverage detected