MCPcopy Create free account
hub / github.com/F-Stack/f-stack / filt_sigattach

Function filt_sigattach

freebsd/kern/kern_sig.c:3942–3953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3940}
3941
3942static int
3943filt_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
3955static void
3956filt_sigdetach(struct knote *kn)

Callers

nothing calls this directly

Calls 1

knlist_addFunction · 0.85

Tested by

no test coverage detected