]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: always initialize ExecParamters.bus_endpoint_fd to -1
authorLennart Poettering <lennart@poettering.net>
Mon, 11 May 2015 18:13:37 +0000 (20:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 May 2015 20:18:21 +0000 (22:18 +0200)
commit6f856a0992aee3fb06cb13a761b902657ff228ea
treec6688722787469f15951f555d92e4a794221cf22
parentd3650f0c4b04990c5b9e8a3463de309ec165fcf5
core: always initialize ExecParamters.bus_endpoint_fd to -1

Otherwise it might be passed in as 0, which is a valid fd, but usually
does not refer to a real endpoint.
src/core/mount.c
src/core/service.c
src/core/socket.c
src/core/swap.c