aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-01-21 13:10:11 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2011-01-21 13:10:11 -0800
commit553466350c80a09da9414f007d34bd1a4d3a9aba (patch)
tree51dacd9ce6796e14bca697f740529ca4a67dd7b6
parent0aa3ae31d3e9a5436b714d0ffade366687a01794 (diff)
downloadklibc-553466350c80a09da9414f007d34bd1a4d3a9aba.tar.gz
[klibc] i386: disable the use of rt signal system calls for now
For now, disable the use of rt signal system calls, even though that means we can only access 32 signals on i386. <asm/signal.h> still defines things in libc system space, in particular it defines sigset_t, which means that as long as we include <asm/signal.h> we are stuck using the 32-signal system calls. The rt system calls DO NOT support 32 signals. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--usr/include/arch/i386/klibc/archconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/include/arch/i386/klibc/archconfig.h b/usr/include/arch/i386/klibc/archconfig.h
index 37a4c8a3c8058..b409a21362643 100644
--- a/usr/include/arch/i386/klibc/archconfig.h
+++ b/usr/include/arch/i386/klibc/archconfig.h
@@ -9,7 +9,7 @@
#ifndef _KLIBC_ARCHCONFIG_H
#define _KLIBC_ARCHCONFIG_H
-/* On i386, only half the signals are accessible using the legacy calls. */
-#define _KLIBC_USE_RT_SIG 1
+/* The i386 <asm/signal.h> is still not clean enough for this... */
+#define _KLIBC_USE_RT_SIG 0
#endif /* _KLIBC_ARCHCONFIG_H */