mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
Kernel: Dispatch handle-able signals instead of crashing if possible
This matches the behaviour of the other *nixs and allows processes to try and recover from such signals in userland.
This commit is contained in:
parent
f415218afe
commit
40f64d7379
5 changed files with 23 additions and 10 deletions
|
@ -1023,6 +1023,7 @@ public:
|
|||
[[nodiscard]] bool has_unmasked_pending_signals() const { return m_have_any_unmasked_pending_signals.load(AK::memory_order_consume); }
|
||||
[[nodiscard]] bool should_ignore_signal(u8 signal) const;
|
||||
[[nodiscard]] bool has_signal_handler(u8 signal) const;
|
||||
[[nodiscard]] bool is_signal_masked(u8 signal) const;
|
||||
u32 pending_signals() const;
|
||||
u32 pending_signals_for_state() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue