SDL/include/build_config
Simon McVittie b6f4e10bf9 unix: If setuid or setgid, don't use GTK
GTK explicitly doesn't support being used setuid or setgid, and if SDL
loads and initializes GTK, GTK will exit the process if it
detects a setgid executable. This is incompatible with the historical
practice of making game executables setgid in order to write out a
shared high-score table on multi-user systems (which is security theatre
at best, because typical game runtime libraries are not hardened against
an untrusted caller, but making it regress would be a user-observable
regression in sdl2-compat).

Helps: https://github.com/libsdl-org/sdl2-compat/issues/564
Signed-off-by: Simon McVittie <smcv@debian.org>
2025-12-28 10:19:33 -08:00
..
SDL_build_config.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_build_config.h.cmake unix: If setuid or setgid, don't use GTK 2025-12-28 10:19:33 -08:00
SDL_build_config_android.h Allow building the tray subsystem without the video subsystem 2025-08-27 08:15:24 -07:00
SDL_build_config_ios.h Fixed building on visionOS 2025-09-29 12:17:48 -07:00
SDL_build_config_macos.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_build_config_minimal.h Allow building the tray subsystem without the video subsystem 2025-08-27 08:15:24 -07:00
SDL_build_config_windows.h Fix vsync-off support for direct3d11 2025-08-24 21:33:02 +03:00
SDL_build_config_wingdk.h Fix vsync-off support for direct3d11 2025-08-24 21:33:02 +03:00
SDL_build_config_xbox.h Allow building the tray subsystem without the video subsystem 2025-08-27 08:15:24 -07:00
SDL_revision.h.cmake Updated copyright for 2025 2025-01-01 07:45:52 -08:00