]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevd: event - fix event queue in daemenozied mode
authorTom Gundersen <teg@jklm.no>
Sun, 24 May 2015 13:20:36 +0000 (15:20 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 24 May 2015 13:29:48 +0000 (15:29 +0200)
commit040e689654ef08c63ab93bf0875865398e8d9c91
tree1776b20946e12f1c193c006ac41f9333ddb44622
parent2dd9f98d2d7a06a8e28729da6339fce50d66e9cc
udevd: event - fix event queue in daemenozied mode

We would enforce that events could only be added to the queue from the
main process, but that brake in daemonized mode. Relax the restriction
to only allow one process to add events to the queue.

Reported by Mantas Mikulėnas.
src/udev/udevd.c