mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-07-10 11:03:46 -04:00
security_context_v1: set CLOEXEC for client FDs
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/3949
This commit is contained in:
parent
651917b3eb
commit
327f000532
7 changed files with 39 additions and 19 deletions
8
include/util/fd.h
Normal file
8
include/util/fd.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef UTIL_FD_H
|
||||
#define UTIL_FD_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
bool set_cloexec(int fd, bool cloexec);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue