summaryrefslogtreecommitdiffstats
path: root/x11/gdm2/files/patch-daemon_slave.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/files/patch-daemon_slave.c')
-rw-r--r--x11/gdm2/files/patch-daemon_slave.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-daemon_slave.c b/x11/gdm2/files/patch-daemon_slave.c
new file mode 100644
index 000000000..27ac0544a
--- /dev/null
+++ b/x11/gdm2/files/patch-daemon_slave.c
@@ -0,0 +1,12 @@
+--- daemon/slave.c.orig Wed Sep 18 02:25:09 2002
++++ daemon/slave.c Wed Sep 18 02:25:15 2002
+@@ -2327,7 +2327,8 @@
+ if (setusercontext (NULL, pwent, pwent->pw_uid,
+ LOGIN_SETLOGIN | LOGIN_SETPATH |
+ LOGIN_SETPRIORITY | LOGIN_SETRESOURCES |
+- LOGIN_SETUMASK | LOGIN_SETUSER) < 0)
++ LOGIN_SETUMASK | LOGIN_SETUSER |
++ LOGIN_SETENV) < 0)
+ gdm_child_exit (DISPLAY_REMANAGE,
+ _("%s: setusercontext() failed for %s. "
+ "Aborting."), "gdm_slave_session_start",