security_context_v1: set CLOEXEC for client FDs

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/3949
(cherry picked from commit 327f000532)
This commit is contained in:
Simon Ser 2026-07-03 13:59:01 +02:00 committed by Simon Zeni
parent eb02e65df4
commit d9cd649551
7 changed files with 39 additions and 19 deletions

View file

@ -3,7 +3,6 @@
#include <stdbool.h>
bool set_cloexec(int fd, bool cloexec);
void unlink_display_sockets(int display);
int open_display_sockets(int socks[2]);