bus_driver_handle_message: reject ActivationFailure if unprivileged
authorSimon McVittie <smcv@debian.org>
Fri, 7 Oct 2016 20:25:08 +0000 (21:25 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 10 Oct 2016 09:06:26 +0000 (10:06 +0100)
commit28fc54e352de549e5574cd41d890ec3151c5157b
treee9cfb9b88c7659d5daf7ac62fff9413d2e259389
parente473ab85d4f4a4175c790192199ec30b1c563fec
bus_driver_handle_message: reject ActivationFailure if unprivileged

Specifically, this will allow ActivationFailure messages from our
own uid or from root, but reject them otherwise, even if the bus
configuration for who can own org.freedesktop.systemd1 is entirely
wrong due to something like CVE-2014-8148.

Signed-off-by: Simon McVittie <smcv@debian.org>
Reviewed-by: Colin Walters <walters@verbum.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98157
bus/driver.c