mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 05:20:05 +01:00
Catch SIGCHLD in OsBlockSignals() too to make sure this signal doesn't
intercept reading the authority file (Fabian Franz, Bugzilla #3137).
This commit is contained in:
parent
246b14cb29
commit
e4b33f4e91
1 changed files with 3 additions and 0 deletions
|
|
@ -1664,6 +1664,9 @@ OsBlockSignals (void)
|
|||
#endif
|
||||
#ifdef SIGTTOU
|
||||
sigaddset (&set, SIGTTOU);
|
||||
#endif
|
||||
#ifdef SIGCHLD
|
||||
sigaddset (&set, SIGCHLD);
|
||||
#endif
|
||||
sigprocmask (SIG_BLOCK, &set, &PreviousSignalMask);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue