mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
There is a ELF note for this but currently clang doesn't support a `no-gcs` flag. The best we can do is check if the kernel has GCS enabled for the current process and early exit. Then continue to use the kernel's locking functionality to disable it if the guest happens to try, ensuring safety.