]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix 372504 Hanging on exit_group
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 19 Nov 2016 14:54:44 +0000 (14:54 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 19 Nov 2016 14:54:44 +0000 (14:54 +0000)
commitd208bc934bb5453976e811bd61b6bb0c72ec6a30
tree287aaab4129b237b1eecbbbb099b950d0e79114a
parent4e139bdeadef4857d23e1687cfb27ab8085eddc2
Fix 372504  Hanging on exit_group

Note that it is unclear if the PRE syscall for rt_sigsuspend
is properly setting up a temporary mask in the thread state
tmp_sig_mask:  if an handler is called while a thread is
calling sigsuspend, the mask during the handler run must be
the temporary mask set by sigsuspend.
It is not clear if/where the valgrind sigframe builder/handler
sets the tmp_sig_mask to the value as expected by the user
(i.e. the value of the temporary mask which was given to
the sigsuspend syscall)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16141
NEWS
coregrind/m_syswrap/syswrap-linux.c
coregrind/pub_core_threadstate.h
none/tests/Makefile.am
none/tests/sigsusp.c [new file with mode: 0644]
none/tests/sigsusp.stderr.exp [new file with mode: 0644]
none/tests/sigsusp.vgtest [new file with mode: 0644]