Bug 3137

Summary: Catch sigchld in OsBlockSignals()
Product: xorg Reporter: Egbert Eich <eich>
Component: Server/GeneralAssignee: Egbert Eich <eich>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: sndirsch
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Add sigchld to OsBlockSignals() none

Description Egbert Eich 2005-04-27 08:37:50 UTC
We try to catch any signal that could interrupt a read in OsBlockSignals() which
gets called before reading auth data to make sure the read cannot be
intercepted. Unfortunately sigchld has been forgotten.
Patch to be attached will fix this.
Patch by Fabian Franz.
Comment 1 Egbert Eich 2005-04-27 08:38:30 UTC
Created attachment 2576 [details] [review]
Add sigchld to OsBlockSignals()
Comment 2 Egbert Eich 2005-04-27 08:42:22 UTC
2005-04-27  Egbert Eich  <eich-at-freedesktop-dot-org>

        * programs/Xserver/os/utils.c: (OsBlockSignals):
        Catch SIGCHLD in OsBlockSignals() too to make sure this
        signal doesn't intercept reading the authority file (Fabian Franz,
        Bugzilla #3137).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.