From a89cc917f6d90d1ff9cfa8e914ec97bdfe31d60f 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 --- bus/driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bus/driver.c b/bus/driver.c index 41e96c1e..b13317e8 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -2573,13 +2573,13 @@ static const MessageHandler introspectable_message_handlers[] = { static const MessageHandler containers_message_handlers[] = { { "AddContainerServer", "ssa{sv}a{sv}", "oays", bus_containers_handle_add_container_server, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "StopContainerInstance", "o", "", bus_containers_handle_stop_container_instance, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "StopContainerListening", "o", "", bus_containers_handle_stop_container_listening, - METHOD_FLAG_PRIVILEGED }, + METHOD_FLAG_NO_CONTAINERS }, { "GetConnectionContainerInstance", "s", "ossa{sv}", bus_containers_handle_get_connection_container_instance, METHOD_FLAG_NONE }, -- 2.13.2