* Find an audit pipe preselection specification for an auid, if any. */
| 271 | * Find an audit pipe preselection specification for an auid, if any. |
| 272 | */ |
| 273 | static struct audit_pipe_preselect * |
| 274 | audit_pipe_preselect_find(struct audit_pipe *ap, au_id_t auid) |
| 275 | { |
| 276 | struct audit_pipe_preselect *app; |
| 277 | |
| 278 | AUDIT_PIPE_LOCK_ASSERT(ap); |
| 279 | |
| 280 | TAILQ_FOREACH(app, &ap->ap_preselect_list, app_list) { |
| 281 | if (app->app_auid == auid) |
| 282 | return (app); |
| 283 | } |
| 284 | return (NULL); |
| 285 | } |
| 286 | |
| 287 | /* |
| 288 | * Query the per-pipe mask for a specific auid. |
no outgoing calls
no test coverage detected