Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    911be032
    Patch from Stelian Ionescu on cmucl-imp, 2010/02/01: · 911be032
    rtoy authored
        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.
    
    Linux-os.c:
    o Check for personality and rexec if necessary.
    
    os.h:
    o New prototype for os_init needed because it needs argv and envp.
    
    lisp.c:
    Darwin-os.c:
    FreeBSD-os.c:
    NetBSD-os.c:
    OpenBSD-os.c:
    hpux-os.c:
    irix-os.c:
    mach-os.c:
    osf1-os.c:
    solaris-os.c:
    sunos-os.c:
    o Update call to os_init, which needs argv and envp now.
    911be032
    History
    Patch from Stelian Ionescu on cmucl-imp, 2010/02/01:
    rtoy authored
        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.
    
    Linux-os.c:
    o Check for personality and rexec if necessary.
    
    os.h:
    o New prototype for os_init needed because it needs argv and envp.
    
    lisp.c:
    Darwin-os.c:
    FreeBSD-os.c:
    NetBSD-os.c:
    OpenBSD-os.c:
    hpux-os.c:
    irix-os.c:
    mach-os.c:
    osf1-os.c:
    solaris-os.c:
    sunos-os.c:
    o Update call to os_init, which needs argv and envp now.