• Max Kellermann's avatar
    set the close-on-exec flag on all file descriptors · e3af0032
    Max Kellermann authored
    Added the "fd_util" library, which attempts to use the new thread-safe
    Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
    SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
    not thread safe.
    
    This is particularly important for the "pipe" output plugin (and
    others, such as JACK/PulseAudio), because we were heavily leaking file
    descriptors to child processes.
    e3af0032
Name
Last commit
Last update
..
alsa_plugin.c Loading commit data...
ao_plugin.c Loading commit data...
fifo_output_plugin.c Loading commit data...
httpd_client.c Loading commit data...
httpd_client.h Loading commit data...
httpd_internal.h Loading commit data...
httpd_output_plugin.c Loading commit data...
jack_output_plugin.c Loading commit data...
mvp_plugin.c Loading commit data...
null_plugin.c Loading commit data...
openal_plugin.c Loading commit data...
oss_plugin.c Loading commit data...
osx_plugin.c Loading commit data...
pipe_output_plugin.c Loading commit data...
pulse_output_plugin.c Loading commit data...
pulse_output_plugin.h Loading commit data...
recorder_output_plugin.c Loading commit data...
shout_plugin.c Loading commit data...
solaris_output_plugin.c Loading commit data...