From 224e4e53e28ddcbc73474b8211aafb6bf1cd5549 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 29 Mar 2023 14:04:56 +0100 Subject: [PATCH] gdebugcontrollerdbus: Fix incorrect paragraph on auth in documentation Signed-off-by: Philip Withnall Fixes: #2960 --- gio/gdebugcontrollerdbus.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gio/gdebugcontrollerdbus.c b/gio/gdebugcontrollerdbus.c index 84d2e6499..ce0f70383 100644 --- a/gio/gdebugcontrollerdbus.c +++ b/gio/gdebugcontrollerdbus.c @@ -50,9 +50,10 @@ * #GDebugController:debug-enabled and, by default, g_log_get_debug_enabled(). * default. * - * By default, all processes will be able to call `SetDebugEnabled()`. If this - * process is privileged, or might expose sensitive information in its debug - * output, you may want to restrict the ability to enable debug output to + * By default, no processes are allowed to call `SetDebugEnabled()` unless a + * #GDebugControllerDBus::authorize signal handler is installed. This is because + * the process may be privileged, or might expose sensitive information in its + * debug output. You may want to restrict the ability to enable debug output to * privileged users or processes. * * One option is to install a D-Bus security policy which restricts access to