Prevent personality setting on Linux from going in circles.
authorStas Boukarev <stassats@gmail.com>
Sat, 5 Oct 2013 16:59:22 +0000 (20:59 +0400)
committerStas Boukarev <stassats@gmail.com>
Sat, 5 Oct 2013 16:59:22 +0000 (20:59 +0400)
commit518493eab883e50237043153c0d45b245e929c7d
tree3350e6cdb1c39184fa58d24e1685308aceb7050b
parenta566e334e16d9cd0ff4f6858d796442305fd0f99
Prevent personality setting on Linux from going in circles.

Apparently, setuid causes ADDR_NO_RANDOMIZE to be stripped away.
Stop restarting SBCL itself indefinitely by adding an
SBCL_IS_RESTARTING environment variable and consulting it before
trying to restart again.
Reported by Teemu Likonen.
src/runtime/linux-os.c