diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-16 07:56:49 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-16 07:56:49 +0000 |
commit | ed08737097eb396742e2825609c2449687d3a944 (patch) | |
tree | 502e9d93bdb2080378407e3c95c46d902a53c2d3 /sys/i386/linux/linux_sysvec.c | |
parent | faf7d1b1b8f0ca18354d8d3cf1ac6d387581008e (diff) | |
download | FreeBSD-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/i386/linux/linux_sysvec.c')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 7c980ce..df5441b 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -988,6 +988,7 @@ struct sysentvec linux_sysvec = { .sv_shared_page_len = PAGE_SIZE, .sv_schedtail = linux_schedtail, .sv_thread_detach = linux_thread_detach, + .sv_trap = NULL, }; INIT_SYSENTVEC(aout_sysvec, &linux_sysvec); @@ -1027,6 +1028,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 |