summaryrefslogtreecommitdiff
path: root/modules/webm
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-10-07 11:31:20 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-10-07 11:57:44 +0200
commitad9a5ee6f1c3cb48a3f06e87a1e925a986c90ab8 (patch)
treee1fd6b287c153b023644042040d3d7d78d749790 /modules/webm
parentbd7b2354c5384527ed73b5d13cee61d85f38fec6 (diff)
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.
Diffstat (limited to 'modules/webm')
0 files changed, 0 insertions, 0 deletions