summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-04-24 05:03:48 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-04-24 05:03:48 +0000
commitbf2d3e2cd1f2972ff3fd3e750e94462f4c37fc0a (patch)
treec7600441c326f762c65ca9b15c5228b258594351 /acconfig.h
parent7a1cc0444fde0befb7155ba00086ab0ce4185093 (diff)
downloadgdm-bf2d3e2cd1f2972ff3fd3e750e94462f4c37fc0a.tar.gz
Fixup enviroment issues. Clear the environment before running a session
Mon Apr 23 22:04:24 2001 George Lebl <jirka@5z.com> * configure.in, acconfig.h, daemon/auth.c, daemon/misc.[ch], daemon/slave.c, daemon/verify.h, daemon/verify-(pam|crypt|shadow).h: Fixup enviroment issues. Clear the environment before running a session and before launching the greeter (taking care to save the localisation vars). Also don't set user env on the slave and leave it, if we set it it's only temporary. Also fix one possible crash by strduping the pam env since that will go away and putenv doesn't strdup.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 23a73c8a..6ef327ea 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -11,3 +11,6 @@
#undef HAVE_SHADOW
#undef HAVE_CRYPT
#undef HAVE_LIBXINERAMA
+#undef HAVE_SETENV
+#undef HAVE_UNSETENV
+#undef HAVE_CLEARENV