BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/jsexec.cpp sbbs
De:       Deuc¨
Data:     Thu, 26 Feb 2026 15:16:00 -0800
-----------------------------------------------------------
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().
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]