[gdm/multi-stack: 30/45] KILL pam stack instead of TERM pam stack
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 30/45] KILL pam stack instead of TERM pam stack
- Date: Thu, 29 Oct 2009 03:54:40 +0000 (UTC)
commit 142f6a9c969526561b7bccb05d14c16bb6543540
Author: Ray Strode <rstrode redhat com>
Date: Fri Jul 24 14:41:48 2009 -0400
KILL pam stack instead of TERM pam stack
Some PAM modules are really slow to shut down.
We need to handle them being slow to shut down better,
(by not blocking login on them shutting down etc), but
in the mean time force them to die immediately.
This is a temporary hack.
daemon/gdm-session-worker-job.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-session-worker-job.c b/daemon/gdm-session-worker-job.c
index 0327d77..d99b8a5 100644
--- a/daemon/gdm-session-worker-job.c
+++ b/daemon/gdm-session-worker-job.c
@@ -320,7 +320,7 @@ gdm_session_worker_job_stop (GdmSessionWorkerJob *session_worker_job)
g_debug ("GdmSessionWorkerJob: Stopping job pid:%d", session_worker_job->priv->pid);
- res = gdm_signal_pid (session_worker_job->priv->pid, SIGTERM);
+ res = gdm_signal_pid (session_worker_job->priv->pid, SIGKILL);
if (res < 0) {
g_warning ("Unable to kill session worker process");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]