X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-mount.c;h=d81edeb807fb85bfc13514f374e2be7db33abfc1;hp=93bfa4c35d63297246c23e131a2d66ce4724d133;hb=cad45ba11ec3572296361f53f5852ffb97a97fa3;hpb=71ef24d09573874c0f7bc323c07c3aec2a458707 diff --git a/src/core/dbus-mount.c b/src/core/dbus-mount.c index 93bfa4c35..d81edeb80 100644 --- a/src/core/dbus-mount.c +++ b/src/core/dbus-mount.c @@ -26,6 +26,7 @@ #include "dbus-kill.h" #include "dbus-execute.h" #include "dbus-common.h" +#include "selinux-access.h" #define BUS_MOUNT_INTERFACE \ " \n" \ @@ -161,5 +162,7 @@ DBusHandlerResult bus_mount_message_handler(Unit *u, DBusConnection *c, DBusMess { NULL, } }; + SELINUX_UNIT_ACCESS_CHECK(u, c, message, "status"); + return bus_default_message_handler(c, message, INTROSPECTION, INTERFACES_LIST, bps ); }