scrcpy/app
Romain Vimont b90c89766b Set CLOEXEC flag on sockets
If SOCK_CLOEXEC exists, then set the flag on socket creation.

Otherwise, use fcntl() (or SetHandleInformation() on Windows) to set the
flag afterwards.

This avoids the sockets to be inherited in child processes.

Refs #2783 <https://github.com/Genymobile/scrcpy/pull/2783>
2021-11-26 09:40:39 +01:00
..
src Set CLOEXEC flag on sockets 2021-11-26 09:40:39 +01:00
tests Add missing includes 2021-11-24 21:44:29 +01:00
meson.build Set CLOEXEC flag on sockets 2021-11-26 09:40:39 +01:00
scrcpy.1 Add option to disable clipboard autosync 2021-11-24 09:44:39 +01:00