• src/sbbs3/jsexec.cpp sbbscon.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, January 02, 2026 00:58:00
    https://gitlab.synchro.net/main/sbbs/-/commit/68af2d6ab5c3293285ca97c7
    Modified Files:
    src/sbbs3/jsexec.cpp sbbscon.c
    Log Message:
    For aarch64 on linux, call personality(ADDR_COMPAT_LAYOUT)

    This should have the same result as setarch --addr-compat-layout
    suggested in #685.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, January 02, 2026 01:44:13
    https://gitlab.synchro.net/main/sbbs/-/commit/a8870186e998c351361acd3f
    Modified Files:
    src/sbbs3/jsexec.cpp sbbscon.c
    Log Message:
    ADDR_COMPAT_LAYOUT is an enum value, not a macro

    So we can't #if defined(ADDR_COMPAT_LAYOUT)

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 26, 2026 15:16:58
    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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 26, 2026 15:25:23
    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.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net