]> git.ipfire.org Git - thirdparty/dbus.git/commit
Do LSM checks after determining if the message is a requested reply
authorTyler Hicks <tyhicks@canonical.com>
Fri, 14 Mar 2014 17:12:46 +0000 (12:12 -0500)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 18 Feb 2015 17:29:00 +0000 (17:29 +0000)
commitad209bd0904e01586bf4e540efd5efa4ea99e2ff
tree691f5fed55b20e675c197943fb8f875935af49d5
parentc2686d53f3065dc9443bb2744f3fbe50992962ea
Do LSM checks after determining if the message is a requested reply

Move the call to bus_selinux_allows_send() after the call to
bus_connections_check_reply().

This allows LSMs to know if the message is a reply and whether or not it
was requested.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75113
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/bus.c