| 163 | "struct pipepair *"); |
| 164 | |
| 165 | int |
| 166 | mac_pipe_check_poll_impl(struct ucred *cred, struct pipepair *pp) |
| 167 | { |
| 168 | int error; |
| 169 | |
| 170 | mtx_assert(&pp->pp_mtx, MA_OWNED); |
| 171 | |
| 172 | MAC_POLICY_CHECK_NOSLEEP(pipe_check_poll, cred, pp, pp->pp_label); |
| 173 | MAC_CHECK_PROBE2(pipe_check_poll, error, cred, pp); |
| 174 | |
| 175 | return (error); |
| 176 | } |
| 177 | |
| 178 | MAC_CHECK_PROBE_DEFINE2(pipe_check_read, "struct ucred *", |
| 179 | "struct pipepair *"); |
no test coverage detected