| 348 | "int"); |
| 349 | |
| 350 | int |
| 351 | mac_socket_check_create(struct ucred *cred, int domain, int type, int proto) |
| 352 | { |
| 353 | int error; |
| 354 | |
| 355 | MAC_POLICY_CHECK_NOSLEEP(socket_check_create, cred, domain, type, |
| 356 | proto); |
| 357 | MAC_CHECK_PROBE4(socket_check_create, error, cred, domain, type, |
| 358 | proto); |
| 359 | |
| 360 | return (error); |
| 361 | } |
| 362 | |
| 363 | MAC_CHECK_PROBE_DEFINE2(socket_check_deliver, "struct socket *", |
| 364 | "struct mbuf *"); |
no outgoing calls
no test coverage detected