diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-10-07 09:45:21 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-10-07 11:53:01 +0200 |
commit | 9c91b2051a61758c8ebfb5be7f2a81dc32c5de33 (patch) | |
tree | d9a1769e70d87914e15f7e08544e5aa2d920bd4b /editor/editor_file_dialog.h | |
parent | bd7b2354c5384527ed73b5d13cee61d85f38fec6 (diff) |
Disable socket descriptor sharing with subprocs.
On Unix systems, sockets are like file descriptors, and file descriptors
are usually shared among child processes.
This means, that if we spawn a subprocess (or we fork) like we do in the
editor, open file descriptors will leak to the new process.
This causes issue with sockets as they might remain open and bound
(listening) when the original process closes.
Diffstat (limited to 'editor/editor_file_dialog.h')
0 files changed, 0 insertions, 0 deletions