SDL/include/build_config
Frank Praznik 9bdb992925 wayland: Allocate the cursor shared memory buffer entirely in memory, if possible.
Use memfd_create() to allocate the temporary SHM backing file in memory, and set the size with posix_fallocate(), which will return an error on insufficient space vs ftruncate(), which will silently succeed and allow a SIGBUS error to occur if the unbacked memory is accessed.

Additionally, make the legacy path more robust by unlinking the temp file, so it won't persist after close, and unmapping the shared memory buffer.
2024-03-12 20:54:55 -04:00
..
SDL_build_config.h Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_build_config.h.cmake wayland: Allocate the cursor shared memory buffer entirely in memory, if possible. 2024-03-12 20:54:55 -04:00
SDL_build_config_android.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_emscripten.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_ios.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_macos.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_minimal.h camera: Reworked to operate with a driver interface, like other subsystems. 2024-02-20 15:56:26 -05:00
SDL_build_config_ngage.h camera: Reworked to operate with a driver interface, like other subsystems. 2024-02-20 15:56:26 -05:00
SDL_build_config_windows.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_wingdk.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_winrt.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_build_config_xbox.h stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
SDL_revision.h.cmake Updated copyright for 2024 2024-01-01 13:15:26 -08:00