1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Kernel: Block a signal from being dispatched again until handler returns.

We don't handle nesting yet, but this is a step in the right direction.
This commit is contained in:
Andreas Kling 2019-03-05 10:34:08 +01:00
parent b67d0a3632
commit 251293f2e1
6 changed files with 110 additions and 69 deletions

View file

@ -249,6 +249,7 @@ struct sigaction {
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
#define SA_NODEFER 0x40000000
#define SIG_BLOCK 0
#define SIG_UNBLOCK 1