mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 04:15:39 +02:00
MFD_NOEXEC_SEAL is only supported on kernels 6.3 and later. If we were compiled on linux >= 6.3, but run on linux < 6.3, we'd exit with an error, due to memfd_create() failing with EINVAL. This patch fixes the problem by first trying to call memfd_create() *with* MFD_NOEXEC_SEAL, and if that fails with EINVAL, we try again without it. |
||
---|---|---|
.. | ||
backend.h | ||
bar.c | ||
bar.h | ||
meson.build | ||
private.h | ||
wayland.c | ||
wayland.h | ||
xcb.c | ||
xcb.h |