r42527 - in /desktop/unstable/gdm3/debian: changelog patches/04_really_dont_block_SIGUSR1.patch patches/series

bigon at users.alioth.debian.org bigon at users.alioth.debian.org
Sat Sep 6 10:10:54 UTC 2014


Author: bigon
Date: Sat Sep  6 10:10:54 2014
New Revision: 42527

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=42527
Log:
d/p/04_really_dont_block_SIGUSR1.patch: from upstream, Stop masking
forcibly SIGUSR1, really. (Closes: #756068)

Added:
    desktop/unstable/gdm3/debian/patches/04_really_dont_block_SIGUSR1.patch
Modified:
    desktop/unstable/gdm3/debian/changelog
    desktop/unstable/gdm3/debian/patches/series

Modified: desktop/unstable/gdm3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/changelog?rev=42527&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/changelog	[utf-8] Sat Sep  6 10:10:54 2014
@@ -1,3 +1,10 @@
+gdm3 (3.12.2-2.2) UNRELEASED; urgency=medium
+
+  * d/p/04_really_dont_block_SIGUSR1.patch: from upstream, Stop masking
+    forcibly SIGUSR1, really. (Closes: #756068)
+
+ -- Laurent Bigonville <bigon at debian.org>  Sat, 06 Sep 2014 12:10:01 +0200
+
 gdm3 (3.12.2-2.1) unstable; urgency=medium
 
   * Reinstate patches for better VT management.

Added: desktop/unstable/gdm3/debian/patches/04_really_dont_block_SIGUSR1.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/patches/04_really_dont_block_SIGUSR1.patch?rev=42527&op=file
==============================================================================
--- desktop/unstable/gdm3/debian/patches/04_really_dont_block_SIGUSR1.patch	(added)
+++ desktop/unstable/gdm3/debian/patches/04_really_dont_block_SIGUSR1.patch	[utf-8] Sat Sep  6 10:10:54 2014
@@ -0,0 +1,43 @@
+From 6bc1ee9e357be64b5c8ea4307ab49f04387c08fe Mon Sep 17 00:00:00 2001
+From: Colomban Wendling <ban at herbesfolles.org>
+Date: Mon, 1 Sep 2014 01:21:04 +0200
+Subject: [PATCH] worker: really don't block SIGUSR1
+
+The manager process alters the signal mask, so we need to reset it to
+the expected default value when launching the session as the signal
+mask is inherited from the parent.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=731228
+---
+ daemon/gdm-session-worker.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
+index bc50b37..89505c2 100644
+--- a/daemon/gdm-session-worker.c
++++ b/daemon/gdm-session-worker.c
+@@ -1836,6 +1836,7 @@ gdm_session_worker_start_session (GdmSessionWorker  *worker,
+                 char  *home_dir;
+                 int    stdin_fd = -1, stdout_fd = -1, stderr_fd = -1;
+                 gboolean has_journald = FALSE;
++                sigset_t mask;
+ 
+                 /* Leak the TTY into the session as stdin so that it stays open
+                  * without any races. */
+@@ -1950,6 +1951,13 @@ gdm_session_worker_start_session (GdmSessionWorker  *worker,
+                  */
+                 signal (SIGUSR1, SIG_DFL);
+ 
++                /*
++                 * Reset signal mask to default since it was altered by the
++                 * manager process
++                 */
++                sigemptyset (&mask);
++                sigprocmask (SIG_SETMASK, &mask, NULL);
++
+                 gdm_session_execute (worker->priv->arguments[0],
+                                      worker->priv->arguments,
+                                      (char **)
+-- 
+2.1.0
+

Modified: desktop/unstable/gdm3/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/patches/series?rev=42527&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/patches/series	[utf-8] Sat Sep  6 10:10:54 2014
@@ -1,6 +1,7 @@
 01_session_windowpath.patch
 02_slave_windowpath.patch
 03_dont_mask_SIGUSR1.patch
+04_really_dont_block_SIGUSR1.patch
 08_frequent-users_greeter.patch
 09_default_session.patch
 16_xserver_path.patch




More information about the pkg-gnome-commits mailing list