• src/sbbs3/jsexec.cpp sbbscon.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Feb 26 15:16:58 2026
    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().
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Feb 26 15:25:23 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/eaf2484826b1ff63743ce444
    Modified Files:
    src/sbbs3/jsexec.cpp sbbscon.c
    Log Message:
    Remove personality() calls after stack is created

    This won't actually work here.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)