[cmucl-imp] Running on Linux kernels compiled with COMPAT_BRK disabled

Stelian Ionescu sionescu at cddr.org
Mon Feb 1 09:09:05 CET 2010


On Sun, 2010-01-31 at 21:15 -0500, Raymond Toy wrote:
> On 1/31/10 3:45 PM, Stelian Ionescu wrote:
> > 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.
> >
> >   
> Thanks for the patch. 
> 
> Did you try compiling CMUCL with this patch?  I ask because it doesn't
> compile for me.  __x86 doesn't exist on my Suse box.  (There are a
> couple of other issues like p=name.release, but name is a pointer, and
> check_personality references argv and envp, which don't exist.)  I don't
> think my Suse box has such a kernel, so I can't test the result either.

I did compile it and it worked, but probably because __x86 isn't
defined. I'll fix this later today

-- 
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: 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/20100201/53e78ee8/attachment.bin>


More information about the cmucl-imp mailing list