Subject: Re: kern/17392: yet other place where killproc() should be used instead of psignal()
To: NetBSD GNATS submissions and followups <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 06/25/2002 17:05:53
[ On Tuesday, June 25, 2002 at 16:51:42 (-0400), Greg A. Woods wrote: ]
> Subject: kern/17392: yet other place where killproc() should be used instead of psignal()
>
>
> >Fix:
>
The following declaration is also necessary for this PR and for #17388
and #17386 too:
Index: signalvar.h
===================================================================
RCS file: /cvs/master/m-NetBSD/main/syssrc/sys/sys/signalvar.h,v
retrieving revision 1.32
diff -c -c -r1.32 signalvar.h
*** signalvar.h 19 Mar 2002 20:50:41 -0000 1.32
--- signalvar.h 25 Jun 2002 21:01:30 -0000
***************
*** 213,218 ****
--- 213,219 ----
#define sched_psignal(p, sig) psignal1((p), (sig), 0)
void siginit __P((struct proc *p));
void trapsignal __P((struct proc *p, int sig, u_long code));
+ void killproc __P((struct proc *, char *));
void sigexit __P((struct proc *, int));
void setsigvec __P((struct proc *, int, struct sigaction *));
int killpg1 __P((struct proc *, int, int, int));
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>