summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Scott <xeons@users.noreply.github.com>2019-11-16 02:37:39 -0600
committerAndreas Kling <awesomekling@gmail.com>2019-11-16 12:50:50 +0100
commit48b1c82d53ff10906849ebd7125534871a96870c (patch)
treea243b1b8a5d92aff9114389d397a6e51f7c73881
parentf999e30afddcb539fbe50fde059db523795fb099 (diff)
downloadserenity-48b1c82d53ff10906849ebd7125534871a96870c.zip
LibC: Added missing signal flags
Added missing signal flags to signal.h
-rw-r--r--Libraries/LibC/signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Libraries/LibC/signal.h b/Libraries/LibC/signal.h
index 798f5dad13..78acb24924 100644
--- a/Libraries/LibC/signal.h
+++ b/Libraries/LibC/signal.h
@@ -44,6 +44,13 @@ extern const char* sys_siglist[NSIG];
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4
+#define SA_ONSTACK 0x08000000
+#define SA_RESTART 0x10000000
+#define SA_NODEFER 0x40000000
+#define SA_RESETHAND 0x80000000
+
+#define SA_NOMASK SA_NODEFER
+#define SA_ONESHOT SA_RESETHAND
#define SIG_BLOCK 0
#define SIG_UNBLOCK 1