mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): remove unfinished vsyscall bits on arm64
The vsyscall mechanism is obsolete. Reviewed By: dchagin, emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D31091
This commit is contained in:
parent
3c900106ea
commit
84a3963d5d
1 changed files with 1 additions and 12 deletions
|
|
@ -86,7 +86,6 @@ static void linux_set_syscall_retval(struct thread *td, int error);
|
|||
static int linux_fetch_syscall_args(struct thread *td);
|
||||
static void linux_exec_setregs(struct thread *td, struct image_params *imgp,
|
||||
uintptr_t stack);
|
||||
static int linux_vsyscall(struct thread *td);
|
||||
|
||||
/* DTrace init */
|
||||
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
|
||||
|
|
@ -98,7 +97,6 @@ LIN_SDT_PROBE_DEFINE0(sysvec, linux_copyout_auxargs, todo);
|
|||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_elf_fixup, todo);
|
||||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_rt_sigreturn, todo);
|
||||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_rt_sendsig, todo);
|
||||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_vsyscall, todo);
|
||||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_vdso_install, todo);
|
||||
LIN_SDT_PROBE_DEFINE0(sysvec, linux_vdso_deinstall, todo);
|
||||
|
||||
|
|
@ -397,15 +395,6 @@ linux_rt_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
|
|||
LIN_SDT_PROBE0(sysvec, linux_rt_sendsig, todo);
|
||||
}
|
||||
|
||||
static int
|
||||
linux_vsyscall(struct thread *td)
|
||||
{
|
||||
|
||||
/* LINUXTODO: implement */
|
||||
LIN_SDT_PROBE0(sysvec, linux_vsyscall, todo);
|
||||
return (EDOOFUS);
|
||||
}
|
||||
|
||||
struct sysentvec elf_linux_sysvec = {
|
||||
.sv_size = LINUX_SYS_MAXSYSCALL,
|
||||
.sv_table = linux_sysent,
|
||||
|
|
@ -440,7 +429,7 @@ struct sysentvec elf_linux_sysvec = {
|
|||
.sv_shared_page_len = PAGE_SIZE,
|
||||
.sv_schedtail = linux_schedtail,
|
||||
.sv_thread_detach = linux_thread_detach,
|
||||
.sv_trap = linux_vsyscall,
|
||||
.sv_trap = NULL,
|
||||
.sv_hwcap = &elf_hwcap,
|
||||
.sv_hwcap2 = &elf_hwcap2,
|
||||
.sv_onexec = linux_on_exec,
|
||||
|
|
|
|||
Loading…
Reference in a new issue