git: bfe290379839 - main - linux(4): Do not specify shared page for aout binaries.

Dmitry Chagin dchagin at FreeBSD.org
Mon Jun 21 17:05:22 UTC 2021


The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=bfe29037983913f27eae9c5a6d31545ed89f4040

commit bfe29037983913f27eae9c5a6d31545ed89f4040
Author:     Dmitry Chagin <dchagin at FreeBSD.org>
AuthorDate: 2021-06-22 05:38:45 +0000
Commit:     Dmitry Chagin <dchagin at FreeBSD.org>
CommitDate: 2021-06-22 05:38:45 +0000

    linux(4): Do not specify shared page for aout binaries.
    
    In Linux vDSO is a small shared ELF library, so it is not intended
    for aout binaries. This was added on 64-bit Linuxulator import by mistake.
    
    MFC after:      2 weeks
---
 sys/i386/linux/linux_sysvec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index 13ebadacf3e3..9cc15bbfd5c3 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -834,8 +834,6 @@ struct sysentvec linux_sysvec = {
 	.sv_set_syscall_retval = linux_set_syscall_retval,
 	.sv_fetch_syscall_args = linux_fetch_syscall_args,
 	.sv_syscallnames = NULL,
-	.sv_shared_page_base = LINUX_SHAREDPAGE,
-	.sv_shared_page_len = PAGE_SIZE,
 	.sv_schedtail	= linux_schedtail,
 	.sv_thread_detach = linux_thread_detach,
 	.sv_trap	= NULL,


More information about the dev-commits-src-all mailing list