Arm SA_ONSTACK vs. unwinding

Paul Brook paul at codesourcery.com
Wed Jul 5 15:09:31 UTC 2006


The comment in arm/sigaction.c says SA_ONSTACK isn't defined by X/Open. This 
seems bogus. Both current glibc and XSI[1] say otherwise.

The attached patch removes the special SA_ONSTACK handling, and adds unwinding 
information to __default_sa_restorer. Both of these are based on the glibc 
code.

This most common use of this is NPTL thread cancellation. However it is useful 
in its own right so I'm submitting the patch for trunk.

Paul

[1] http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.sa_onstack
Type: text/x-diff
Size: 2971 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060705/9a377ce0/attachment.bin 


More information about the uClibc mailing list