From 9f42fda170c54c918e314bcabd049a76f93f916d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 23 Jun 2017 16:45:13 +0100 Subject: [PATCH] bus/driver: Allow unprivileged connections to create app-containers This lets ordinary users create a limited number of app-containers on the system bus. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101354 --- bus/driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bus/driver.c b/bus/driver.c index 12a95c87..11d541d9 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -2572,11 +2572,11 @@ static const MessageHandler introspectable_message_handlers[] = { #ifdef DBUS_ENABLE_CONTAINERS static const MessageHandler containers_message_handlers[] = { { "AddServer", "ssa{sv}a{sv}", "oays", bus_containers_handle_add_server, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "StopInstance", "o", "", bus_containers_handle_stop_instance, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "StopListening", "o", "", bus_containers_handle_stop_listening, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "GetConnectionInstance", "s", "ossa{sv}", bus_containers_handle_get_connection_instance, METHOD_FLAG_NONE }, -- 2.13.3