April 6, 2026
6:46 p.m.
One more detail regarding this. Since I couldn't find a viable replacement for modify_ldt (or confirm whether one exists at all on Android), I wasn't able to fully evaluate what other syscalls might be restricted in the same way. From testing, it also appears that these seccomp restrictions do not apply to processes started via execve (i.e. they are not inherited), which is part of why I'm considering that approach as a more robust alternative. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10569#note_135157