]> git.ipfire.org Git - thirdparty/systemd.git/commit
varlink: move connection fds > fd2
authorLennart Poettering <lennart@poettering.net>
Thu, 15 Aug 2019 07:34:05 +0000 (09:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Nov 2019 09:54:52 +0000 (10:54 +0100)
commita0c41de277234b57bbcd6a315c9fcc5ec64e9f7c
tree646c6b9d6586e63ef6e53f402a422404fb1efc04
parent45a6c965986d484bd1d7d7d1978dbf0d82baec69
varlink: move connection fds > fd2

We want to use this code in NSS modules, and we never know the execution
environment we are run in there, hence let's move our fds up to ensure
we won't step into dangerous fd territory.

This is similar to how we already do it in sd-bus for client connection
fds.
src/shared/varlink.c