mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
We weren't adjusting the guest stack size when using clone3. If the clone comes from CLONE3 then we need to offset the RSP by the provided stack size. This also translates to fork/vfork through clone, so make sure to adjust stack in that case as well. Fixes Ender Lilies crashing with Ubuntu 22.04 rootfs