godot/drivers/unix
Fabio Alessandrelli ad9a5ee6f1 Disable file descriptor sharing with subprocs.
On Unix systems, 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 any open file descriptor will leak to the new process.
This PR sets the close-on-exec flag when opening a file, which causes
the file descriptor to not be shared with the child process.
2019-10-07 11:57:44 +02:00
..
dir_access_unix.cpp Optimize DirAccessUnix::get_next() for some file systems 2019-07-29 15:02:26 +02:00
dir_access_unix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
file_access_unix.cpp Disable file descriptor sharing with subprocs. 2019-10-07 11:57:44 +02:00
file_access_unix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
ip_unix.cpp IP: Fix build error on UWP 2019-10-02 13:38:02 +02:00
ip_unix.h Implement IP.get_local_interfaces. 2019-06-21 00:14:42 +02:00
mutex_posix.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
mutex_posix.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
net_socket_posix.cpp Use reference to constant in functions 2019-07-10 11:54:12 +02:00
net_socket_posix.h Use reference to constant in functions 2019-07-10 11:54:12 +02:00
os_unix.cpp Fix casting to uint64_t when returning unix system time 2019-10-01 11:44:26 +02:00
os_unix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
rw_lock_posix.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rw_lock_posix.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
semaphore_posix.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
semaphore_posix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
syslog_logger.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
syslog_logger.h Fix -Wsuggest-attribute=format warnings. 2019-02-27 06:56:50 +01:00
thread_posix.cpp Improve custom thread numbering for POSIX 2019-01-25 00:59:07 +01:00
thread_posix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00