mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00: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:
@@ -1664,6 +1664,9 @@ OsBlockSignals (void)
|
||||
#endif
|
||||
#ifdef SIGTTOU
|
||||
sigaddset (&set, SIGTTOU);
|
||||
#endif
|
||||
#ifdef SIGCHLD
|
||||
sigaddset (&set, SIGCHLD);
|
||||
#endif
|
||||
sigprocmask (SIG_BLOCK, &set, &PreviousSignalMask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user