• Simon McVittie's avatar
    Don't let dbus-daemon and its subprocesses inherit unnecessary fds · 94806fb2
    Simon McVittie authored
    This should avoid test failures under CMake in which the
    dbus-daemon inherits an unwanted fd from CMake's test framework, causing
    the close-on-exec check before executing activated services to fail.
    
    The dbus-daemon now marks all fds that it inherits, except for its
    stdin, stdout and stderr, to be closed on exec. For completeness, the
    dbus-daemons run by dbus-run-session and dbus-launch also now inherit
    stdin, stdout, stderr and the pipes used to communicate with their
    callers, but nothing else.
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    94806fb2
Name
Last commit
Last update
bus Loading commit data...
cmake Loading commit data...
dbus Loading commit data...
doc Loading commit data...
m4 Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
Doxyfile.in Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
NEWS.pre-1-2 Loading commit data...
README Loading commit data...
README.cmake Loading commit data...
README.cygwin Loading commit data...
README.launchd Loading commit data...
README.valgrind Loading commit data...
README.win Loading commit data...
README.wince Loading commit data...
autogen.sh Loading commit data...
cleanup-man-pages.sh Loading commit data...
configure.ac Loading commit data...
dbus-1-uninstalled.pc.in Loading commit data...
dbus-1.pc.in Loading commit data...