aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2001-09-10 07:00:17 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2001-09-10 07:00:17 +0000
commite061a6ca19ac3e58e6576aa28b43896a70d7290f (patch)
tree7e65041976b3892e508f2b1be014d62501ff67b1 /sys
parentea8f3ee34755a5c2dbd010f8833a675b332be909 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_sysvec.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index eaab863b41b6..b90ea56032be 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -76,6 +76,15 @@ MALLOC_DEFINE(M_LINUX, "linux", "Linux mode structures");
#define SHELLMAGIC 0x2321
#endif
+/*
+ * Allow the sendsig functions to use the ldebug() facility
+ * even though they are not syscalls themselves. Map them
+ * to syscall 0. This is slightly less bogus than using
+ * ldebug(sigreturn).
+ */
+#define LINUX_SYS_linux_rt_sendsig 0
+#define LINUX_SYS_linux_sendsig 0
+
extern char linux_sigcode[];
extern int linux_szsigcode;