mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
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
This commit is contained in:
parent
e4bb09d8ec
commit
14c5589ed6
@ -1098,7 +1098,7 @@ get_session_address_dbus_launch (GError **error)
|
|||||||
if (GLIB_PRIVATE_CALL (g_check_setuid) ())
|
if (GLIB_PRIVATE_CALL (g_check_setuid) ())
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
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;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user