]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevd: merge manager_new() and manager_listen() again 43/head
authorTom Gundersen <teg@jklm.no>
Tue, 2 Jun 2015 21:14:34 +0000 (23:14 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 3 Jun 2015 00:10:58 +0000 (02:10 +0200)
commit11b1dd8cecd486d5b1dd8fb27373ac79ea467ff8
tree8825e14beb2f9060a0c17914867829532174c0dc
parent7500cd5e96cff52a726d03194e3b927771ddb1d4
udevd: merge manager_new() and manager_listen() again

Now that listen_fds() have been split out, we can safely move the allocation
of the manager object after doing the forking (the fork is done to notify legcay
init-systems that the fds are ready).

Subsequently, we can merge manager_listen() back into managre_new().

This entails a minor behaviour change: the application of permissions to
static device nodes now happens after the fork (but still before notifying
systemd about being ready).
src/udev/udevd.c