Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Back off previous partially - make l...



details:   https://anonhg.NetBSD.org/src/rev/0c3202b12c01
branches:  trunk
changeset: 522423:0c3202b12c01
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Feb 18 18:51:51 2002 +0000

description:
Back off previous partially - make linux_release[] back 2.0.38
and linux_version[] "#0 Sun Apr 1 11:11:11 MET 2000";". Add a BIG
WARNING MESSAGE so that people won't break things changing this.

diffstat:

 sys/compat/linux/common/linux_misc.c |  16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r e60d6eee8c07 -r 0c3202b12c01 sys/compat/linux/common/linux_misc.c
--- a/sys/compat/linux/common/linux_misc.c      Mon Feb 18 18:43:55 2002 +0000
+++ b/sys/compat/linux/common/linux_misc.c      Mon Feb 18 18:51:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_misc.c,v 1.98 2002/02/17 23:56:35 rafal Exp $    */
+/*     $NetBSD: linux_misc.c,v 1.99 2002/02/18 18:51:51 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.98 2002/02/17 23:56:35 rafal Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.99 2002/02/18 18:51:51 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -345,9 +345,17 @@
        return copyout((caddr_t) &ltmp, (caddr_t) SCARG(uap, sp), sizeof ltmp);
 }
 
+/*
+ * NOTE: DO NOT CHANGE THIS
+ * Linux makes assumptions about specific features being present with
+ * more recent kernels. Specifically, LinuxThreads use RT queued
+ * signals if the kernel release is bigger. Since we don't support them
+ * yet, the version needs to stay this way until we'd have the RT queued
+ * signals implemented.
+ */
 char linux_sysname[] = "Linux";
-char linux_release[] = "2.4.18";
-char linux_version[] = "#13 SMP Thu Feb 14 13:13:13 EST 2002";
+char linux_release[] = "2.0.38";
+char linux_version[] = "#0 Sun Apr 1 11:11:11 MET 2000";
 
 /*
  * uname(). Just copy the info from the various strings stored in the



Home | Main Index | Thread Index | Old Index