summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-12-09 16:29:57 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-12-09 16:29:57 +0000
commit66dd2fd56d125e745be9fa10b429f469cae7b665 (patch)
treef5bd984dcaaa0e343905870ff938128826621638 /sys/compat/linux
parentb177d8a42ad6b567b776cbf88bf05832984b6724 (diff)
Add entries in compat signal mapping arrays for SIGTHR.
Prompted by parfait noticing overflows in ibcs2/svr4 which are now changed to being NSIG sized like the others as suggested by tedu. ok tedu@ miod@ guenther@
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c
index 145ae4ca70f..a3de140578c 100644
--- a/sys/compat/linux/linux_signal.c
+++ b/sys/compat/linux/linux_signal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_signal.c,v 1.13 2008/05/01 11:53:26 miod Exp $ */
+/* $OpenBSD: linux_signal.c,v 1.14 2009/12/09 16:29:56 jsg Exp $ */
/* $NetBSD: linux_signal.c,v 1.10 1996/04/04 23:51:36 christos Exp $ */
/*
@@ -98,6 +98,7 @@ int bsd_to_linux_sig[NSIG] = {
0, /* SIGINFO */
LINUX_SIGUSR1,
LINUX_SIGUSR2,
+ 0, /* SIGTHR */
};
int linux_to_bsd_sig[LINUX__NSIG] = {