summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_sysctl.c
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2010-07-07 01:30:32 +0000
committerchs <chs@NetBSD.org>2010-07-07 01:30:32 +0000
commit33fa5ccbbf17bc2390e2d136c34926c6f93ac5d1 (patch)
treec52fdcf81396fba59fce0a9c410d0dcc8c104091 /sys/compat/linux32/common/linux32_sysctl.c
parent56acc98394a822ba38a843f6385171e0b1aa5e9a (diff)
many changes for COMPAT_LINUX:
- update the linux syscall table for each platform. - support new-style (NPTL) linux pthreads on all platforms. clone() with CLONE_THREAD uses 1 process with many LWPs instead of separate processes. - move the contents of sys__lwp_setprivate() into a new lwp_setprivate() and use that everywhere. - update linux_release[] and linux32_release[] to "2.6.18". - adjust placement of emul fork/exec/exit hooks as needed and adjust other emul code to match. - convert all struct emul definitions to use named initializers. - change the pid allocator to allow multiple pids to refer to the same proc. - remove a few fields from struct proc that are no longer needed. - disable the non-functional "vdso" code in linux32/amd64, glibc works fine without it. - fix a race in the futex code where we could miss a wakeup after a requeue operation. - redo futex locking to be a little more efficient.
Diffstat (limited to 'sys/compat/linux32/common/linux32_sysctl.c')
-rw-r--r--sys/compat/linux32/common/linux32_sysctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux32/common/linux32_sysctl.c b/sys/compat/linux32/common/linux32_sysctl.c
index 27934d8c04f..3e1419d76f6 100644
--- a/sys/compat/linux32/common/linux32_sysctl.c
+++ b/sys/compat/linux32/common/linux32_sysctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_sysctl.c,v 1.12 2009/01/05 09:33:19 njoly Exp $ */
+/* $NetBSD: linux32_sysctl.c,v 1.13 2010/07/07 01:30:36 chs Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.12 2009/01/05 09:33:19 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.13 2010/07/07 01:30:36 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -57,8 +57,8 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.12 2009/01/05 09:33:19 njoly Ex
#include <compat/linux32/linux32_syscallargs.h>
char linux32_sysname[128] = "Linux";
-char linux32_release[128] = "2.4.18";
-char linux32_version[128] = "#0 Wed Feb 20 20:00:02 CET 2002";
+char linux32_release[128] = "2.6.18";
+char linux32_version[128] = "#0 Wed Mar 3 03:03:03 PST 2010";
struct sysctlnode linux32_sysctl_root = {
.sysctl_flags = SYSCTL_VERSION|