Bug 3137 - Catch sigchld in OsBlockSignals()
Summary: Catch sigchld in OsBlockSignals()
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All Linux (All)
: high normal
Assignee: Egbert Eich
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 08:37 UTC by Egbert Eich
Modified: 2005-05-16 08:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Add sigchld to OsBlockSignals() (549 bytes, patch)
2005-04-27 08:38 UTC, Egbert Eich
no flags Details | Splinter Review

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.