| 651 | } |
| 652 | |
| 653 | static void |
| 654 | audit_pipe_dtor(void *arg) |
| 655 | { |
| 656 | struct audit_pipe *ap; |
| 657 | |
| 658 | ap = arg; |
| 659 | funsetown(&ap->ap_sigio); |
| 660 | AUDIT_PIPE_LIST_WLOCK(); |
| 661 | AUDIT_PIPE_LOCK(ap); |
| 662 | audit_pipe_free(ap); |
| 663 | AUDIT_PIPE_LIST_WUNLOCK(); |
| 664 | } |
| 665 | |
| 666 | /* |
| 667 | * Audit pipe open method. Explicit privilege check isn't used as this |
no test coverage detected