chiark / gitweb /
systemd: bind udev control socket in systemd and split udev.service
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 23 Mar 2011 15:40:23 +0000 (16:40 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 23 Mar 2011 15:40:23 +0000 (16:40 +0100)
commitfc1de713f5b754fb38876b5b797e18f812727f0a
treed9b9a7159f9a5a058f1918dbe4bce61c03bb6b28
parenta31d76b18675a0bf213fdd16242b4268c9ff48e0
systemd: bind udev control socket in systemd and split udev.service

We should bind the udev socket from systemd, so we are sure
that the abstract namespace socket is always bound by a root
process and there is never a window during an update where
an untrusted process can steal our socket.

Also split the udev.service file, so that the daemon can be
updated/restarted without triggering any coldplug events.
Makefile.am
configure.ac
init/udev-trigger.service.in [new file with mode: 0644]
init/udev.service.in
init/udev.socket [new file with mode: 0644]
libudev/libudev-ctrl.c
libudev/libudev-private.h
udev/udevd.c