* exceptions.cc (sigdelayed): Fix race where signal handler could get the wrong

mask.
This commit is contained in:
Christopher Faylor 2003-08-19 00:31:56 +00:00
parent 9d7f26eaf4
commit 372cd2cbe6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-08-18 Pierre Humblet <pierre.humblet@ieee.org>
* exceptions.cc (sigdelayed): Fix race where signal handler could get
the wrong mask.
2003-08-18 Christopher Faylor <cgf@redhat.com>
* path.cc (mount): Add null/empty check for input parameters.

View File

@ -1271,11 +1271,11 @@ _sigdelayed0: \n\
call _reset_signal_arrived@0 \n\
pushl %5 # signal number \n\
pushl %7 # newmask \n\
\n\
call _set_process_mask@4 \n\
movl $0,%0 # zero the signal number as a \n\
# flag to the signal handler thread\n\
# that it is ok to set up sigsave\n\
\n\
call _set_process_mask@4 \n\
popl %%eax \n\
jmp *%%eax \n\
__no_sig_end: \n\