Running on Linux kernels compiled with COMPAT_BRK disabled

Stelian Ionescu sionescu at cddr.org
Sun Jan 31 21:45:20 CET 2010


When run on a kernel compiled without COMPAT_BRK CMUCL segfaults, so I
copied the kludge used by SBCL - check the current personality, and if
necessary, enable ADDR_NO_RANDOMIZE and re-exec itself.
Patch attached.

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmucl-set-linux-personality.patch
Type: text/x-patch
Size: 3703 bytes
Desc: not available
URL: <http://lists.zs64.net/mailman-archive/cmucl-imp/attachments/20100131/02aac4b2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.zs64.net/mailman-archive/cmucl-imp/attachments/20100131/02aac4b2/attachment-0001.bin>


More information about the cmucl-imp mailing list