]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidd: implement --socket-activation option
authorPetr Uzel <petr.uzel@suse.cz>
Thu, 3 May 2012 19:01:54 +0000 (21:01 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 4 May 2012 13:14:04 +0000 (15:14 +0200)
commitbbe289c4895ed37727be8291c9a7ec1f1e247657
treeca1af59813aeaa3df65b5f37ad675a138242d27c
parent75a94e8b36898b654bb7539b20a6a6ef8985776f
uuidd: implement --socket-activation option

Implement --socket-activation option, which is supposed to be used
with systemd (or equivalent init system) socket activation mechanism.
With this option, the UUID daemon does not create the socket on its own,
but instead expect the connection fd to be provided by the calling
process.

This option is only available if util-linux is configured with
--enable-socket-activation option. With this configure
option, the uuidd is compiled with sd-daemon.c.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
configure.ac
misc-utils/Makefile.am
misc-utils/sd-daemon.c [new file with mode: 0644]
misc-utils/sd-daemon.h [new file with mode: 0644]
misc-utils/uuidd.8
misc-utils/uuidd.c