diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-04 17:01:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-04 17:05:15 +0200 |
commit | a316932f5a627c1ef78f568fd5dfa579f12e76b2 (patch) | |
tree | 5bafa9e28fff072f074d757d1573bf25e478e9b2 /src/core/dbus-manager.c | |
parent | 7f79cd7109a60810140a045cc725291fc5515264 (diff) |
manager: when verifying whether clients may change environment using selinux check for "reload" rather "reboot"
This appears to be a copy/paste error.
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r-- | src/core/dbus-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 676a07ffa5..8f4d01737a 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -1397,7 +1397,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, _cleanup_strv_free_ char **l = NULL; char **e = NULL; - SELINUX_ACCESS_CHECK(connection, message, "reboot"); + SELINUX_ACCESS_CHECK(connection, message, "reload"); r = bus_parse_strv(message, &l); if (r == -ENOMEM) @@ -1424,7 +1424,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, _cleanup_strv_free_ char **l = NULL; char **e = NULL; - SELINUX_ACCESS_CHECK(connection, message, "reboot"); + SELINUX_ACCESS_CHECK(connection, message, "reload"); r = bus_parse_strv(message, &l); if (r == -ENOMEM) @@ -1452,7 +1452,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, char **f = NULL; DBusMessageIter iter; - SELINUX_ACCESS_CHECK(connection, message, "reboot"); + SELINUX_ACCESS_CHECK(connection, message, "reload"); if (!dbus_message_iter_init(message, &iter)) goto oom; |