• 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
..
.gitignore Loading commit data...
GetAllMatchRules.py Loading commit data...
Makefile.am Loading commit data...
Win32.Manifest Loading commit data...
ci-Dockerfile.in Loading commit data...
ci-build.sh Loading commit data...
ci-install.sh Loading commit data...
dbus-cleanup-sockets.c Loading commit data...
dbus-echo.c Loading commit data...
dbus-launch-win.c Loading commit data...
dbus-launch-x11.c Loading commit data...
dbus-launch.c Loading commit data...
dbus-launch.h Loading commit data...
dbus-monitor.c Loading commit data...
dbus-print-message.c Loading commit data...
dbus-print-message.h Loading commit data...
dbus-run-session.c Loading commit data...
dbus-send.c Loading commit data...
dbus-spam.c Loading commit data...
dbus-update-activation-environment.c Loading commit data...
dbus-uuidgen.c Loading commit data...
run-with-tmp-session-bus.sh Loading commit data...
strtoll.c Loading commit data...
strtoull.c Loading commit data...
test-tool.c Loading commit data...
test-tool.h Loading commit data...
tool-common.c Loading commit data...
tool-common.h Loading commit data...