summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 20:18:53 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 20:18:53 +0000
commite706df7b9aabea4208d9f836f591eae7b4424987 (patch)
tree552a0c58d2d5879ccf28b0fbfa2ee2a690e1718a /sys/amd64/linux32
parentf7b2f01ed012f7d71bc2a622981864be45556e68 (diff)
downloadFreeBSD-src-e706df7b9aabea4208d9f836f591eae7b4424987.zip
FreeBSD-src-e706df7b9aabea4208d9f836f591eae7b4424987.tar.gz
Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall
instead of vdso. An upcoming linux_base-c6 needs it. Differential Revision: https://reviews.freebsd.org/D1090 Reviewed by: kib, trasz MFC after: 1 week
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index 693f003..7d3615e 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -1040,6 +1040,7 @@ struct sysentvec elf_linux_sysvec = {
.sv_shared_page_len = PAGE_SIZE,
.sv_schedtail = linux_schedtail,
.sv_thread_detach = linux_thread_detach,
+ .sv_trap = NULL,
};
static void
OpenPOWER on IntegriCloud