summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-16 07:56:49 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-16 07:56:49 +0000
commited08737097eb396742e2825609c2449687d3a944 (patch)
tree502e9d93bdb2080378407e3c95c46d902a53c2d3 /sys/compat/ia32
parentfaf7d1b1b8f0ca18354d8d3cf1ac6d387581008e (diff)
downloadFreeBSD-src-ed08737097eb396742e2825609c2449687d3a944.zip
FreeBSD-src-ed08737097eb396742e2825609c2449687d3a944.tar.gz
MFC r293613:
Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall instead of vdso. An upcoming linux_base-c6 needs it.
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_sysvec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c
index 206935a..d2870ce 100644
--- a/sys/compat/ia32/ia32_sysvec.c
+++ b/sys/compat/ia32/ia32_sysvec.c
@@ -140,6 +140,7 @@ struct sysentvec ia32_freebsd_sysvec = {
.sv_shared_page_len = PAGE_SIZE,
.sv_schedtail = NULL,
.sv_thread_detach = NULL,
+ .sv_trap = NULL,
};
INIT_SYSENTVEC(elf_ia32_sysvec, &ia32_freebsd_sysvec);
OpenPOWER on IntegriCloud