Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 22:09:42 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aa5fef60bf66 - main - linux: Update the i386/linux vdso deinitialization routine
Message-ID:  <202102162209.11GM9gAb084660@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit aa5fef60bf663d31cddf53d7a8c6856d5e4672c0
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-02-16 22:06:20 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-02-16 22:07:56 +0000

    linux: Update the i386/linux vdso deinitialization routine
    
    This was missed in commit 0fc8a796722 ("linux: Unmap the VDSO page when
    unloading").
    
    Reported by:    Mark Millard
    MFC with:       0fc8a796722
---
 sys/i386/linux/linux_sysvec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index 10229d8af57e..ef845675aaa4 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -938,7 +938,8 @@ static void
 linux_vdso_deinstall(void *param)
 {
 
-	__elfN(linux_shared_page_fini)(linux_shared_page_obj);
+	__elfN(linux_shared_page_fini)(linux_shared_page_obj,
+	    linux_shared_page_mapping);
 }
 SYSUNINIT(elf_linux_vdso_uninit, SI_SUB_EXEC, SI_ORDER_FIRST,
     linux_vdso_deinstall, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102162209.11GM9gAb084660>