]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: make sure to create a signal queue for the right signal 1179/head
authorLennart Poettering <lennart@poettering.net>
Sun, 6 Sep 2015 22:31:24 +0000 (00:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 6 Sep 2015 22:31:24 +0000 (00:31 +0200)
commit10edebf6cd69cfbe0d38dbaf5478264fbb60a51e
treebd2621cb7a92bbe86515c40d1c6b963ab3c5ddeb
parent2009bcfd23400bacd50848ac3e72cd5f6fbe53db
sd-event: make sure to create a signal queue for the right signal

We should never access the "signal" part of the event source unless the
event source is actually for a signal. In this case it's a child pid
handler however, hence make sure to use the right signal.

This is a fix for PR #1177, which in turn was a fix for
9da4cb2be260ed123f2676cb85cb350c527b1492.
src/libsystemd/sd-event/sd-event.c