summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_exec.c
diff options
context:
space:
mode:
authorcube <cube@NetBSD.org>2007-02-19 15:10:02 +0000
committercube <cube@NetBSD.org>2007-02-19 15:10:02 +0000
commit632ece3eaff65fb9258ac452db12386a43c8d47f (patch)
tree331064faedcaf7dfd7a9f72fd157febbded73f51 /sys/compat/linux/common/linux_exec.c
parent9457102640a7542614e3178f3e0a0079ce4aec78 (diff)
Introduce a new member to struct emul, e_startlwp, to be used by
sys__lwp_create. It allows using the said syscall under COMPAT_NETBSD32. The libpthread regression tests now pass on amd64 and sparc64.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
-rw-r--r--sys/compat/linux/common/linux_exec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c
index b86268830d1..d7e719a62e5 100644
--- a/sys/compat/linux/common/linux_exec.c
+++ b/sys/compat/linux/common/linux_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.c,v 1.91 2007/02/15 15:13:33 ad Exp $ */
+/* $NetBSD: linux_exec.c,v 1.92 2007/02/19 15:10:03 cube Exp $ */
/*-
* Copyright (c) 1994, 1995, 1998, 2000, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.91 2007/02/15 15:13:33 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.92 2007/02/19 15:10:03 cube Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -158,6 +158,7 @@ const struct emul emul_linux = {
linux_usertrap,
0,
+ NULL, /* e_startlwp */
};
static void