[bazsi@balabit.hu (Balazs Scheidler)] bug in thread support

Andreas Schwab schwab@suse.de
Mon Oct 22 08:34:00 GMT 2001


This is a race condition: the sigaction wrapper in linuxthreads/signals.c
is not atomic, there is a window between registering the pthread signal
handler and storing the real signal handler in sighandler[].old.  How can
this be solved best?

Andreas.

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBO9K9/cGXIGCa+NCpAQFUngf+IBQuW4l4GALEH9YL1H0KIpOSds6gR7nb
38QBFin4FxgBe/GSx/uRu93U9BJtc5i72lovxI9n7E7GF5Nh5v3kWeLjfDRsf0tn
Nh5c7sBLbDIjNBVtZ+Q1UvaaM23aGSiC04Jai/Q2OmvKzHOnmS46L5+DqNqR2w67
BsNPEoSv2hdBNbBhBhVPIP7Kx5woPauDc9YfR8EHXL1zHoH+isK9rw4C1wZUyF85
le3/ZvAoLec8+xwWcbNGqivKJ9vzdFz6AYCi2hGrq+uUmTMPijjAwFi4VQNX3z25
BEN3XbB6MvyNuYr2p4+1NTBIQaWVDVxGLPA0ffG6dt3zo6pppqPVtg==
=RBAy
-----END PGP SIGNATURE-----


More information about the Libc-hacker mailing list