Email List: Xaustin-review-lX
[All Lists]

Defect in XSH exec

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH exec
From: yyyyyyyyyyyyyy@xxxxxx
Date: Tue, 12 Nov 2002 13:22:26 GMT
        Defect report from : David Butenhof , HP

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 297 line 9654 section exec objection {drb.6.exec.threads}

Problem:

Defect code :  1. Error

A bulleted list on this page provides a list of attributes that the "new 
process" created by exec() shall inherit from "the calling process image". The 
two items "Process signal mask (see sigprocmask())" and "Pending signal (see 
sigpending())" do not belong in this list, as they do not refer to attributes 
of a process but rather to attributes of individual threads.

Action:

Remove these two items from the list.

A second list could be constructed of attributes inherited from the calling 
thread, as such:

   The initial thread of the new process shall inherit at least the    
   following attributes from the calling thread:

     * Signal mask (see sigprocmask() and pthread_sigmask())
     * Pending signal (see sigpending())

Alternately, as many of the attributes inherited are already described outside 
this one list, the thread inheritance could be described in a separate 
paragraph either immediately following the list (before the current paragraph 
at line 9660 beginning "All other process attributes"), or prior to the list, 
as such:

   The initial thread in the new process shall inherit the signal mask
   and pending signals from the thread that called exec(). (See
   sigprocmask(), pthread_sigmask(), and sigpending().)

<Prev in Thread] Current Thread [Next in Thread>