Use of alternate stack for signal handler
Hi All,
Can anyone tell me about typical uses of having a different
stack for signal handlers? and what may be the disadvantages of using
the default stack?
I have read the man page of sigaltstack(2) but it does not
contain any info.
Thanks,
Madhav.
.
Relevant Pages
- Re: [PATCH 0/4] coredump: core dump masking support v3
... realistically the only one I have run into were stack overflows, ... Duff SIGSEGV or SIGBUS signal handlers are just as realistic. ... And any time you say "by carefully setting up" you can guarantee someone's ... we should just give up the coredumping in kernel. ... (Linux-Kernel) - [PATCH] PPC: fix stack alignment for signal handlers
... Both the PPC32 and PPC64 ABIs specify that the stack should be kept aligned ... In addition to the PPC64 signal frame itself being of misaligned size, ... For PPC32 signal handlers, while the frame itself was of properly aligned ... (Linux-Kernel) - Re: When to use automatic variables and when to use malloc
... You could do the old 'stack address subtraction' trick, ... However, when I write a handler for SIGSEGV, the ... One thing you might find in the system's documentation is ... that signal handlers might not be called if there's no stack ... (comp.lang.c) - Re: Use of alternate stack for signal handler
... >> stack for signal handlers? ... and what may be the disadvantages ... >> of using the default stack? ... but they will be CoW and buried stack ... (comp.os.linux.development.system) - Re: Are programmers like this in the real world?
... someone who's played a sport or a musical instrument for 10 ... >onto a stack and then push it back!" ... The stack solution is elegant plus easier to read and debug. ... Prev by Date: ... (comp.programming) |
|