Module Name: src Committed By: martin Date: Fri Jun 19 10:18:19 UTC 2015
Modified Files: src/sys/kern: sys_sig.c src/sys/sys: proc.h Log Message: Make kill1 public (we'll need it from compat/netbsd32) To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/kern/sys_sig.c cvs rdiff -u -r1.321 -r1.322 src/sys/sys/proc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/sys_sig.c diff -u src/sys/kern/sys_sig.c:1.43 src/sys/kern/sys_sig.c:1.44 --- src/sys/kern/sys_sig.c:1.43 Sat Oct 18 08:33:29 2014 +++ src/sys/kern/sys_sig.c Fri Jun 19 10:18:19 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: sys_sig.c,v 1.43 2014/10/18 08:33:29 snj Exp $ */ +/* $NetBSD: sys_sig.c,v 1.44 2015/06/19 10:18:19 martin Exp $ */ /*- * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.43 2014/10/18 08:33:29 snj Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.44 2015/06/19 10:18:19 martin Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -211,8 +211,7 @@ sys___sigaltstack14(struct lwp *l, const return 0; } - -static int +int kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval) { int error; Index: src/sys/sys/proc.h diff -u src/sys/sys/proc.h:1.321 src/sys/sys/proc.h:1.322 --- src/sys/sys/proc.h:1.321 Sat Mar 7 16:34:55 2015 +++ src/sys/sys/proc.h Fri Jun 19 10:18:19 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.321 2015/03/07 16:34:55 christos Exp $ */ +/* $NetBSD: proc.h,v 1.322 2015/06/19 10:18:19 martin Exp $ */ /*- * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -475,6 +475,7 @@ int mtsleep(wchan_t, pri_t, const char * void wakeup(wchan_t); int kpause(const char *, bool, int, kmutex_t *); void exit1(struct lwp *, int) __dead; +int kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval); int do_sys_wait(int *, int *, int, struct rusage *); struct proc *proc_alloc(void); void proc0_init(void);