From: Nikodemus Siivola Date: Fri, 12 Dec 2008 15:51:28 +0000 (+0000) Subject: 1.0.23.39: Red Hat Enterprise 3 mmap randomization workaround X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=8b4d4e4819998b568768d2f6bfd3dca449961f95;p=sbcl.git 1.0.23.39: Red Hat Enterprise 3 mmap randomization workaround * Patch by Thomas Burdick: RHEL 3 suffers from the randomized mmap nonesense, and reports kernel version 2.4.21. With the attached patch, it SBCL runs correctly on these machines. --- diff --git a/NEWS b/NEWS index 2150957..ac86ff2 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ * new feature: the system now signals a continuable error if standard readtable modification is attempted. * optimization: faster generic arithmetic dispatch on x86 and x86-64. + * bug fix: Red Hat Enterprise 3 mmap randomization workaround. (thanks + to Thomas Burdick) * bug fix: DEFCLASS and ENSURE-CLASS-USING-CLASS are now expected to be thread safe. * bug fix: lexical type declarations are now correctly reported by diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c index f50b7b1..388e7af 100644 --- a/src/runtime/linux-os.c +++ b/src/runtime/linux-os.c @@ -216,7 +216,9 @@ os_init(char *argv[], char *envp[]) /* Some old kernels will apparently lose unsupported personality flags * on exec() */ && ((minor_version == 6 && patch_version >= 11) - || (minor_version > 6))) + || (minor_version > 6) + /* This is what RHEL 3 reports */ + || (minor_version == 4 && patch_version > 20))) || major_version >= 3) { int pers = personality(0xffffffffUL); diff --git a/version.lisp-expr b/version.lisp-expr index 4cff592..298df66 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.23.38" +"1.0.23.39"