diff options
author | Benjamin Berg <[email protected]> | 2024-11-03 16:05:06 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-11-07 17:36:31 +0100 |
commit | ce6e85a186c28ab0ca024580cba93fa19147c72b (patch) | |
tree | dac6be1ade6734c1f5717e0ea21b5fdaff866729 /arch/um/os-Linux/signal.c | |
parent | b69f22dfd6973ec54da5e2b8fd1f1cd138b533b0 (diff) |
um: remove broken double fault detection
The show_stack function had some code to detect double faults. However,
the logic is wrong and it would e.g. trigger if a WARNING happened
inside an IRQ.
Remove it without trying to add a new logic. The current behaviour,
which will just fault repeatedly until the IRQ stack is used up and the
host kills UML, seems to be good enough.
Signed-off-by: Benjamin Berg <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'arch/um/os-Linux/signal.c')
-rw-r--r-- | arch/um/os-Linux/signal.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c index 1c6caa9dbd6c..52852018a3ad 100644 --- a/arch/um/os-Linux/signal.c +++ b/arch/um/os-Linux/signal.c @@ -487,11 +487,3 @@ void unblock_signals_hard(void) unblocking = false; } #endif - -int os_is_signal_stack(void) -{ - stack_t ss; - sigaltstack(NULL, &ss); - - return ss.ss_flags & SS_ONSTACK; -} |