lkml.org 
[lkml]   [1996]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSA_STACK
Date
In the current kernel there is potential for supporting the
sigaltstack() call, and struct sigaction contains an obsolete
field (sa_restorer) which could probably be changed to something
like sa_sigaltsp. Shouldn't this be moved out into the kernel
task_struct because according to the definition of sigaltstack()
the signal stack is not per sig-handler but 1 per process, even
though sigaltstack() can be called multiple times.

Am I wrong about this?

In any case, what would be the side effects? There is no sigaltstack()
in libc 5.3.12 as far as I can see so I dont see a problem with patching
it. I do see alternate stack stuff in elfcore struct elf_prstatus but
it is #if 0, (waiting for someone to imp? :) )

-Melvin


\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans