[glib: 1/2] gdbusaddress: setuid error message references AT_SECURE




commit 14c5589ed6721cdf3cd0a1a5dfad129caadf04d2
Author: Pablo Correa Gómez <ablocorrea hotmail com>
Date:   Mon Nov 1 15:51:23 2021 +0100

    gdbusaddress: setuid error message references AT_SECURE
    
    g_check_setuid does more than setuid checks when using AT_SECURE.
    Make sure that it is referenced in the error message to help
    users debug in case or errors
    
    Closes #2518

 gio/gdbusaddress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index 48c766682..8a4e2b1de 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -1098,7 +1098,7 @@ get_session_address_dbus_launch (GError **error)
   if (GLIB_PRIVATE_CALL (g_check_setuid) ())
     {
       g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-                  _("Cannot spawn a message bus when setuid"));
+                   _("Cannot spawn a message bus when AT_SECURE is set"));
       goto out;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]