summaryrefslogtreecommitdiff
path: root/src/core/dbus-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-path.c')
-rw-r--r--src/core/dbus-path.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/dbus-path.c b/src/core/dbus-path.c
index b77b5191c9..f7fed1754d 100644
--- a/src/core/dbus-path.c
+++ b/src/core/dbus-path.c
@@ -25,6 +25,7 @@
#include "dbus-path.h"
#include "dbus-execute.h"
#include "dbus-common.h"
+#include "selinux-access.h"
#define BUS_PATH_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Path\">\n" \
@@ -115,5 +116,7 @@ DBusHandlerResult bus_path_message_handler(Unit *u, DBusConnection *c, DBusMessa
{ NULL, }
};
+ SELINUX_UNIT_ACCESS_CHECK(u, c, message, "status");
+
return bus_default_message_handler(c, message, INTROSPECTION, INTERFACES_LIST, bps);
}