diff options
author | George Lebl <jirka@5z.com> | 2001-04-24 05:03:48 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-04-24 05:03:48 +0000 |
commit | bf2d3e2cd1f2972ff3fd3e750e94462f4c37fc0a (patch) | |
tree | c7600441c326f762c65ca9b15c5228b258594351 /daemon/verify.h | |
parent | 7a1cc0444fde0befb7155ba00086ab0ce4185093 (diff) | |
download | gdm-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 'daemon/verify.h')
-rw-r--r-- | daemon/verify.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/verify.h b/daemon/verify.h index 3ef89027..e6de22e2 100644 --- a/daemon/verify.h +++ b/daemon/verify.h @@ -24,6 +24,8 @@ gchar *gdm_verify_user (const gchar *display); void gdm_verify_cleanup (void); void gdm_verify_check (void); +/* used in pam */ +void gdm_verify_env_setup (void); void gdm_verify_setup_user (const gchar *login, const gchar *display) ; #endif /* GDM_VERIFY_H */ |