Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2022 19:08:13 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8851242d9d89 - stable/13 - Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary()
Message-ID:  <202201021908.202J8DVj057765@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit 8851242d9d8976680b1f51f10fe74d59afdb78ee
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2021-12-09 04:50:10 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-01-02 16:43:01 +0000

    Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary()
    
    (cherry picked from commit d2de68811a80bffe20040592dca194238c5a5c86)
---
 sys/kern/kern_sharedpage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/kern_sharedpage.c b/sys/kern/kern_sharedpage.c
index 411965180fcb..3aa5501eafdc 100644
--- a/sys/kern/kern_sharedpage.c
+++ b/sys/kern/kern_sharedpage.c
@@ -387,6 +387,7 @@ exec_sysvec_init_secondary(struct sysentvec *sv, struct sysentvec *sv2)
 	MPASS((sv2->sv_flags & SV_ABI_MASK) == (sv->sv_flags & SV_ABI_MASK));
 	MPASS((sv2->sv_flags & SV_TIMEKEEP) == (sv->sv_flags & SV_TIMEKEEP));
 	MPASS((sv2->sv_flags & SV_SHP) != 0 && (sv->sv_flags & SV_SHP) != 0);
+	MPASS((sv2->sv_flags & SV_DSO_SIG) == (sv->sv_flags & SV_DSO_SIG));
 	MPASS((sv2->sv_flags & SV_RNG_SEED_VER) ==
 	    (sv->sv_flags & SV_RNG_SEED_VER));
 



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