]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: add virCommandPassListenFDs() function
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 15 Jul 2014 15:07:02 +0000 (17:07 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 22 Aug 2014 07:12:14 +0000 (09:12 +0200)
commit62f263a73e8202f2af7309d10000a3b9a66e6b57
treecb21c150223ccbbdecdcb0f3e1846587171da0fb
parent241ac07124a3172dc38198d777eb3f04846f6c52
util: add virCommandPassListenFDs() function

That sets a new flag, but that flag does mean the child will get
LISTEN_FDS and LISTEN_PID environment variables properly set and
passed FDs reordered so that it corresponds with LISTEN_FDS (they must
start right after STDERR_FILENO).

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt_private.syms
src/util/vircommand.c
src/util/vircommand.h
tests/commanddata/test24.log [new file with mode: 0644]
tests/commandtest.c