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

@ -16,6 +16,7 @@
#include <wlr/xwayland.h>
#include "config.h"
#include "sockets.h"
#include "util/fd.h"
static void safe_close(int fd) {
if (fd >= 0) {