summaryrefslogtreecommitdiff
path: root/daemon/gdm-session.h
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-05-30 10:26:02 -0400
committerRay Strode <rstrode@redhat.com>2014-06-04 14:34:16 -0400
commitef6954833cf43bef8306823d7fcfb6a04b903ad7 (patch)
tree570f5fe1cd0c1792649e0181ac1de556f5a84ce1 /daemon/gdm-session.h
parentc067d1c5586714c407f121d2f47a3e7104758182 (diff)
downloadgdm-ef6954833cf43bef8306823d7fcfb6a04b903ad7.tar.gz
worker: don't block SIGUSR1
When the slaves were folded into the main manager process, we had to add support for detecting multiple simultaneous X servers starting up. We did that by creating a detected thread to listen for SIGUSR1 and then examining the siginfo to find out which X server is ready. In order to ensure only the dedicated thread received the SIGUSR1 signals from the X server we blocked SIGUSR1 from the main thread. That blocked signal is inherited to the worker processes and the session. Some programs depend on SIGUSR1 but don't explicitly unblock SIGUSR1 at start up, since the signal is presumed to be unblocked out the box. This commit makes sure SIGUSR1 is unblocked before starting the session to keep these programs functioning correctly. https://bugzilla.gnome.org/show_bug.cgi?id=731228
Diffstat (limited to 'daemon/gdm-session.h')
0 files changed, 0 insertions, 0 deletions