diff options
author | Ray Strode <rstrode@redhat.com> | 2012-09-17 15:18:02 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-09-17 16:41:26 -0400 |
commit | 6d5dd0936629d1d9754dfa93d4f4ac2738baaa84 (patch) | |
tree | d82c3269ad6f02d9559ef2d7da198bb3f8b53d32 /daemon/gdm-session-worker-job.h | |
parent | dfce1962cbb3ca95b0e407450179a0965e6f3ec3 (diff) | |
download | gdm-6d5dd0936629d1d9754dfa93d4f4ac2738baaa84.tar.gz |
worker: Copy environment from login session to reauth sessions
Reauthentication sessions depend on having the same environment
as the session they were initiated from. This is important to
make sure login prompts are in the right language, to make sure
the kerberos credentials cache is looked up, and for various
other reasons.
This commit copies the environment from the login session to
any new reauthentication sessions that get started after login.
https://bugzilla.gnome.org/show_bug.cgi?id=684241
Diffstat (limited to 'daemon/gdm-session-worker-job.h')
-rw-r--r-- | daemon/gdm-session-worker-job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-session-worker-job.h b/daemon/gdm-session-worker-job.h index 2132ee12..8494ff4c 100644 --- a/daemon/gdm-session-worker-job.h +++ b/daemon/gdm-session-worker-job.h @@ -59,6 +59,8 @@ void gdm_session_worker_job_set_server_address (GdmSessionWor const char *server_address); void gdm_session_worker_job_set_for_reauth (GdmSessionWorkerJob *session_worker_job, gboolean for_reauth); +void gdm_session_worker_job_set_environment (GdmSessionWorkerJob *session_worker_job, + const char * const *environment); gboolean gdm_session_worker_job_start (GdmSessionWorkerJob *session_worker_job, const char *name); void gdm_session_worker_job_stop (GdmSessionWorkerJob *session_worker_job); |