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

8
include/util/fd.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef UTIL_FD_H
#define UTIL_FD_H
#include <stdbool.h>
bool set_cloexec(int fd, bool cloexec);
#endif