summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authormanu <manu@NetBSD.org>2005-11-09 21:56:11 +0000
committermanu <manu@NetBSD.org>2005-11-09 21:56:11 +0000
commite75bcb9ebfee0de47ed8ca2981289082ab09dd4b (patch)
tree6972459a5d6a91d58cdecdddeadec8e12f764e24 /sys/compat/linux
parent19d733c7f7f7fba0c4f3a9965804e2c414495a74 (diff)
Fix build problem
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_sched.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_sched.c b/sys/compat/linux/common/linux_sched.c
index ec8bd08b349..4303e144f02 100644
--- a/sys/compat/linux/common/linux_sched.c
+++ b/sys/compat/linux/common/linux_sched.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sched.c,v 1.24 2005/11/09 14:56:50 manu Exp $ */
+/* $NetBSD: linux_sched.c,v 1.25 2005/11/09 21:56:11 manu Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sched.c,v 1.24 2005/11/09 14:56:50 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sched.c,v 1.25 2005/11/09 21:56:11 manu Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@@ -412,6 +412,8 @@ linux_sys_exit_group(l, v, retval)
* in the same thread group (i.e. all threads created
* via clone(2) with CLONE_THREAD flag set).
*/
+ led = l->l_proc->p_emuldata;
+ group_pid = led->s->group_pid;
PROCLIST_FOREACH(p, &allproc) {
if (p->p_emul != &emul_linux)
continue;
@@ -422,7 +424,7 @@ linux_sys_exit_group(l, v, retval)
led = p->p_emuldata;
if (led->s->group_pid == group_pid) {
/* XXX we should exit, not send a SIGKILL */
- psignal(p, SIGKILL)
+ psignal(p, SIGKILL);
}
}