[gnome-keyring] daemon: reduce the amount of environment to send to the master process



commit 607855dc188607f2c2cafaf8c02cbf465b7d6c78
Author: Giovanni Campagna <gcampagn cs stanford edu>
Date:   Fri Oct 9 16:15:15 2015 -0700

    daemon: reduce the amount of environment to send to the master process
    
    Let's keep the environment vars that the daemon can depend upon
    to a minimum, so that we reduce the dependency to the initialization
    order and we avoid inverse dependencies with gnome-shell/XWayland.
    The daemon was already ignoring most of these.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756324

 daemon/gkd-util.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/daemon/gkd-util.c b/daemon/gkd-util.c
index d277c9f..c99e761 100644
--- a/daemon/gkd-util.c
+++ b/daemon/gkd-util.c
@@ -53,15 +53,10 @@ const gchar *GKD_UTIL_OUT_ENVIRONMENT[] = {
  * early before these environment variables were set.
  */
 const gchar *GKD_UTIL_IN_ENVIRONMENT[] = {
-       "DISPLAY",
        "DBUS_SESSION_BUS_ADDRESS",
        "DESKTOP_AUTOSTART_ID",
-       "ICEAUTHORITY",
        "LANG",
-       "XAUTHORITY",
-       "XAUTHLOCALHOSTNAME",
        "XDG_RUNTIME_DIR",
-       "XDG_SESSION_COOKIE",
        "LOGNAME",
        "USERNAME",
        NULL


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