summaryrefslogtreecommitdiff
path: root/src/core/dbus-unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-02 17:56:54 -0400
committerLennart Poettering <lennart@poettering.net>2012-10-02 17:56:54 -0400
commitffc227c9568eb0a12dc750761d1e5d68ea125aad (patch)
tree09b2020ac0b6baee2902ad4891d6cbb292f31216 /src/core/dbus-unit.c
parentc1165f822cd9f8c3467b5f825ce933ab8374b361 (diff)
selinux: remove anything PID1-specific from selinux-access.[ch] so that we can reuse it in logind
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r--src/core/dbus-unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index 6bf331ee58..83ee018ff3 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -526,7 +526,7 @@ static DBusHandlerResult bus_unit_message_handler(DBusConnection *connection, DB
if (streq(dbus_message_get_path(message), "/org/freedesktop/systemd1/unit")) {
/* Be nice to gdbus and return introspection data for our mid-level paths */
- SELINUX_MANAGER_ACCESS_CHECK(m, connection, message, "status");
+ SELINUX_ACCESS_CHECK(connection, message, "status");
if (dbus_message_is_method_call(message, "org.freedesktop.DBus.Introspectable", "Introspect")) {
char *introspection = NULL;