about summary refs log tree commit diff
path: root/bits/sigstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sigstack.h')
-rw-r--r--bits/sigstack.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/bits/sigstack.h b/bits/sigstack.h
index 3a58e8bb58..0998256613 100644
--- a/bits/sigstack.h
+++ b/bits/sigstack.h
@@ -37,3 +37,19 @@ typedef struct sigaltstack
     size_t ss_size;
     int ss_flags;
   } stack_t;
+
+
+/* Possible values for `ss_flags.'.  */
+enum
+{
+  SS_ONSTACK = 0x0001,
+#define SS_ONSTACK	SS_ONSTACK
+  SS_DISABLE = 0x0004,
+#define SS_DISABLE	SS_DISABLE
+};
+    
+/* Minumum stack size for a signal handler.  */
+#define MINSIGSTKSZ	8192
+
+/* System default stack size.  */
+#define SIGSTKSZ	(MINSIGSTKSZ + 32768)