diff options
| author | Laurent MEYER <[email protected]> | 2006-06-23 02:05:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-06-23 07:43:05 -0700 |
| commit | d09042da7284a86ffbdd18695f517a71514ed598 (patch) | |
| tree | 09e9a3de71a4a4cf6c8f8cb0c40ec0a916e01cae /scripts/basic/split-include.c | |
| parent | 785d55708c24c28d7646f3d1fe6c9f82fb714311 (diff) | |
[PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes
- When setting a sighandler using sigaction() call, if the flag
SA_ONSTACK is set and no alternate stack is provided via sigaltstack(),
the kernel still try to install the alternate stack. This behavior is
the opposite of the one which is documented in Single Unix Specifications
V3.
- Also when setting an alternate stack using sigaltstack() with the flag
SS_DISABLE, the kernel try to install the alternate stack on signal
delivery.
These two use cases makes the process crash at signal delivery.
Signed-off-by: Laurent Meyer <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: David Howells <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Roman Zippel <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Kazumoto Kojima <[email protected]>
Cc: Chris Zankel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions