From nobody Sun Jan 02 19:08:13 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9959F191F451; Sun, 2 Jan 2022 19:08:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRpLP4wj7z4Y0r; Sun, 2 Jan 2022 19:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2FD20176DF; Sun, 2 Jan 2022 19:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 202J8DuE057766; Sun, 2 Jan 2022 19:08:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 202J8DVj057765; Sun, 2 Jan 2022 19:08:13 GMT (envelope-from git) Date: Sun, 2 Jan 2022 19:08:13 GMT Message-Id: <202201021908.202J8DVj057765@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 8851242d9d89 - stable/13 - Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary() List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8851242d9d8976680b1f51f10fe74d59afdb78ee Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641150494; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p+ZVZH/uMTWKhJazPvvPYVZtMNql5wg/CMt4LBU7nhs=; b=YTRg5NXRo5dRzIaG6mujduThiMzw56pMp9QCVk9zhIKcWg2y2FcZqmczC77iCd4XZScVlM CGNFTpzqVDqfAzVOnn3PPdEgEJrLy7K25hItMo8s9UgGgXLQmU+OUpWzts/hvpARrt017f XV5np384dbKOGh+h9tfD14x1BMxYdjp68+JSB2c1tlU9V6F8coNZlxDY4OMIFIqyKBH9FC NJG7myIqdlcbpEHpVahbmP/tHMRcxtJrgYV+AL1KL1cBHfG9J9BfxIQ15jLCOt4CQoZkRV q9LumoFwgqK/7xuVmv9LNRUJDaLzjqa6zojScRhGA2M98uOvq/E/uOgGOO2ZiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641150494; a=rsa-sha256; cv=none; b=kj1Tft8Vd0wMQorQya6iCedhESLyNuwh+3LnMfKFPigvQVAiHglXidsYNR2EzQdxV86EA7 Iti6ZOoxguDokxpcF9av7dLmUx5pQFu+DEYTEIMLFxySkm/83+OcvVPEuR8rLSKUceXIuX E5dXH8/n9pM0ewzF0ehEZkEz9xzkVSI2N1gIeGyRL1lIMeCT8BpNer/aAsUVJgmSrvPApU 7H0BnVykPCUOLwi3/Rir7nl2MzwrlXPk3wK8/+j9/gF88ri1Bc0Jl7iJKAKM59y7jehBZS UvRpM8SV2UvzrIev07dLzeHwmbuTRAiTZoJKjYi3MBMWiVPVEElE+UwgVs7fYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8851242d9d8976680b1f51f10fe74d59afdb78ee commit 8851242d9d8976680b1f51f10fe74d59afdb78ee Author: Justin Hibbits AuthorDate: 2021-12-09 04:50:10 +0000 Commit: Konstantin Belousov 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));