git: 8851242d9d89 - stable/13 - Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jan 2022 19:08:13 UTC
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));