mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-07-10 00:06:08 -04:00
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:
parent
eb02e65df4
commit
d9cd649551
7 changed files with 39 additions and 19 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue