aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
author6t8k <6t8k@noreply.codeberg.org>2023-10-14 23:25:48 +0200
committer6t8k <6t8k@noreply.codeberg.org>2024-04-21 19:17:46 +0200
commit03e304544b9b01c175813215f5930a07152be448 (patch)
tree30b174757b831c0a46bd45815518db266750e853 /tests/cpp-compile-test.cpp
parentci: turn on -Dwerror=true for FreeBSD (diff)
downloadwayland-03e304544b9b01c175813215f5930a07152be448.tar
wayland-03e304544b9b01c175813215f5930a07152be448.tar.gz
wayland-03e304544b9b01c175813215f5930a07152be448.tar.bz2
wayland-03e304544b9b01c175813215f5930a07152be448.tar.lz
wayland-03e304544b9b01c175813215f5930a07152be448.tar.xz
wayland-03e304544b9b01c175813215f5930a07152be448.tar.zst
wayland-03e304544b9b01c175813215f5930a07152be448.zip
cursor: memfd_create: try MFD_NOEXEC_SEAL
Effective from Linux 6.3 onward, this creates the memfd without execute permissions and prevents that setting from ever being changed. A run-time fallback is made to not using MFD_NOEXEC_SEAL when a libwayland-cursor compiled on Linux >= 6.3 is run on Linux < 6.3. This is a defense-in-depth security measure and silences a respective kernel warning; see: https://lwn.net/Articles/918106/ This implementation is adopted from dnkl's `foot` terminal emulator. Signed-off-by: 6t8k <6t8k@noreply.codeberg.org>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions