https://gitlab.synchro.net/main/sbbs/-/commit/571f5e68ab3d5a14916f070b
Modified Files:
src/sbbs3/jsexec.cpp sbbscon.c
Log Message:
More aarch64 hackery
Black magic mode enabled...
In a constructor, execv() ourselves after setting the personality.
Since we're placing jsvals on the stacks, the address space needs
to be set to legacy *before* the stack is initialized.
What this does, is if the ADDR_COMPAT_LAYOUT bit isn't already set
while the program is being initialized, re-starts the program with
the same args after calling personality().
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net