security_context_v1: set CLOEXEC for client FDs

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/3949
This commit is contained in:
Simon Ser 2026-07-03 13:59:01 +02:00 committed by Simon Zeni
parent 651917b3eb
commit 327f000532
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) {