Mac Intel

Mikael Pettersson mikpe@REDACTED
Wed Aug 9 18:22:20 CEST 2006


Joel Reymont writes:
 > Mikael,
 > 
 > On Aug 6, 2006, at 10:11 PM, Mikael Pettersson wrote:
 > 
 > > Unless you have the source code for the OSX C library, you basically
 > > have to run 'nm' on the library files to find all versions of  
 > > sigaction(),
 > 
 > What is the approach if you _do_ have the source code to the OSX C  
 > library?
 > 
 > Apple just released the kernel source code.

Assuming they also release their C library sources, then the answer
is obvious: study the code until you understand how signal handling
works in the C library, including interaction with alternate signal
stacks and threads. Then you'll be in position to either suggest code
to safely override sigaction, or to declare this a lost cause (if
their C library has insurmountable problems).



More information about the erlang-questions mailing list