threads/72953: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM

David Xu davidxu at freebsd.org
Thu Oct 21 05:30:23 PDT 2004


The following reply was made to PR threads/72953; it has been noted by GNATS.

From: David Xu <davidxu at freebsd.org>
To: Mark Andrews <marka at daemon.lab.isc.org>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: threads/72953: fork() unblocks blocked signals w/o	PTHREAD_SCOPE_SYSTEM
Date: Thu, 21 Oct 2004 20:33:10 +0800

 It is not supported to do any thread related operations in child
 process forked from a threaded process, this becauses thread
 library may be in corrupted state, the safe operation in child process
 is calling execve() immediately after fork().
 
 
 Mark Andrews wrote:
 
 >>Number:         72953
 >>Category:       threads
 >>Synopsis:       fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       medium
 >>Responsible:    freebsd-threads
 >>State:          open
 >>Quarter:        
 >>Keywords:       
 >>Date-Required:
 >>Class:          sw-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Thu Oct 21 07:00:44 GMT 2004
 >>Closed-Date:
 >>Last-Modified:
 >>Originator:     Mark Andrews
 >>Release:        FreeBSD 5.3-BETA6 i386
 >>Organization:
 >>    
 >>
 


More information about the freebsd-threads mailing list