about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-10 10:17:29 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-10 10:17:29 -0500
commit6871fd773dcedbf056317d5d5e87b4859e97c4a4 (patch)
tree94431cd8088870491de1d5e82a380aca96c28920 /arch
parent1b538acb0ac8520a8a5fd828add2e52e1d2a41eb (diff)
downloadmusl-6871fd773dcedbf056317d5d5e87b4859e97c4a4.tar.gz
musl-6871fd773dcedbf056317d5d5e87b4859e97c4a4.tar.xz
musl-6871fd773dcedbf056317d5d5e87b4859e97c4a4.zip
make sigaltstack work (missing macros in signal.h, error conditions)
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/bits/signal.h2
-rw-r--r--arch/x86_64/bits/signal.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/bits/signal.h b/arch/i386/bits/signal.h
index 4956a0d9..74d9d025 100644
--- a/arch/i386/bits/signal.h
+++ b/arch/i386/bits/signal.h
@@ -131,6 +131,8 @@ struct __siginfo
 #define POLL_HUP 6
 #define SS_ONSTACK    1
 #define SS_DISABLE    2
+#define MINSIGSTKSZ 2048
+#define SIGSTKSZ 8192
 #endif
 
 #define SA_NOCLDSTOP  1
diff --git a/arch/x86_64/bits/signal.h b/arch/x86_64/bits/signal.h
index f2c92d09..ddebe90d 100644
--- a/arch/x86_64/bits/signal.h
+++ b/arch/x86_64/bits/signal.h
@@ -137,6 +137,8 @@ struct __siginfo
 #define POLL_HUP 6
 #define SS_ONSTACK    1
 #define SS_DISABLE    2
+#define MINSIGSTKSZ 2048
+#define SIGSTKSZ 8192
 #endif
 
 #define SA_NOCLDSTOP  1