Re: pthread_sighander() of glibc-2.2 breaks stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> Hiroyuki Machida writes:

 > Hello Andreas,

 > I had a experience that pthread_sighander() of current glibc-2.2 
 > breaks stack. I tracked down the problem, and finally found the
 > mismatch  between kenrel and glibc-2.2. 

 > Current kernel pass following args to the signal handler for the 
 > case of not SA_SIGINFO specified.
 > 	a0	signal number
 > 	a1	0 (cause code?)
 > 	a2	pointer to sigcontext struct

 > But, the pthread_sighander() of glibc-2.2 expects;
 > 	1st arg.	signal number
 > 	2nd arg.	sigcontext struct itself (not pointer)

 > Patches attached below. Please apply.

Thanks, I've committed them,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux