| 3940 | } |
| 3941 | |
| 3942 | static int |
| 3943 | filt_sigattach(struct knote *kn) |
| 3944 | { |
| 3945 | struct proc *p = curproc; |
| 3946 | |
| 3947 | kn->kn_ptr.p_proc = p; |
| 3948 | kn->kn_flags |= EV_CLEAR; /* automatically set */ |
| 3949 | |
| 3950 | knlist_add(p->p_klist, kn, 0); |
| 3951 | |
| 3952 | return (0); |
| 3953 | } |
| 3954 | |
| 3955 | static void |
| 3956 | filt_sigdetach(struct knote *kn) |
nothing calls this directly
no test coverage detected