diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2008-06-03 17:50:13 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2008-06-03 17:50:13 +0000 |
commit | 25a34fb52414a988ef4cf4038aaa14b3e331b9bd (patch) | |
tree | 1c134f3b4abbaf01097755272d0d39579f863071 | |
parent | 9b4be0280d33444e6a6c239f9c60e3b1a43f1c36 (diff) | |
download | FreeBSD-src-25a34fb52414a988ef4cf4038aaa14b3e331b9bd.zip FreeBSD-src-25a34fb52414a988ef4cf4038aaa14b3e331b9bd.tar.gz |
Switch to emulating Linux 2.6 on default.
Approved by: kib (mentor)
-rw-r--r-- | UPDATING | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_mib.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -22,6 +22,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW: to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20080606: + The version that Linuxulator emulates was changed from 2.4.2 + to 2.6.16. If you experience any problems with Linux binaries + please try to set sysctl compat.linux.osrelease to 2.4.2 and + if it fixes the problem contact emulation mailing list. + 20080525: ISDN4BSD (I4B) was removed from the src tree. You may need to update a your kernel configuration and remove relevant entries. diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index 095b5ee..fa4dda8 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -82,8 +82,8 @@ SYSCTL_PROC(_compat_linux, OID_AUTO, osname, 0, 0, linux_sysctl_osname, "A", "Linux kernel OS name"); -static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.4.2"; -static int linux_use_linux26 = 0; +static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.6.16"; +static int linux_use_linux26 = 1; static int linux_sysctl_osrelease(SYSCTL_HANDLER_ARGS) |