From nobody Tue Apr 02 08:59:41 2024 X-Original-To: dev-commits-src-all@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 4V81zL0brdz5G4d2; Tue, 2 Apr 2024 08:59:42 +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 4V81zL08L1z4VCw; Tue, 2 Apr 2024 08:59:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712048382; 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=HaKcjFk7EqM7Ky0WjbKCyJKHcgn6J8in7P4ls6/QGXw=; b=Yv+zxZ57DuLo6rc7VltPP7Rx4Cv6ow9h0tAx2b6rQzlZMsk+J2HLRueuvBABWCpG40RBsB Ubp+jBlgNTOjIquV2JA9BZwpi+b0pPtmjrfieMiHz/qoywSM15pGpaFKPkt8OIRtMGH8SN VuxmkDXRhDkYTZaVHjppOMWvmfvpv05cupwoqdFyzuEMqLedLisiYt01FO/TxEj8WRZGQg zUMcIdoMTEYgt+ctctyPACQ0Qh0Kei05s0WIu8wCJ5RaULaIlvdXWR3PoICgniXPFWNxGO zClSGU+tpN/Vw/zp2dQtdazuK2DP1e/Wrw/f+e1/KqqmDKavVI782KgiQb29Tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712048382; a=rsa-sha256; cv=none; b=Uq+IvhNwGL2ub/0ARDf6Sm8+DFEO9esVBP9+QK5zYiqrapxYhf9DrmTRQNTjP+ypJXatMX k2V6hfJmqWfkxPKrHB7hr/14PjxYRHkhzUN1CTwH0wxzgHTo2ZI9BWgeOxxtk1fY7ZTVSp pCNqZv+KQ253zvhoONS15e7sRL7E8fI92K9GWSmHJMMGz8NtYC9Y73+mVsXbeFBKc49DTw 7VRYGyX6ypCCVwV28rILdxa1mkVjgsBYMZoQVYdHb3yxgLv2Bm6WC2GJSoQYCmDvgVjrzC WCB8DK+PHpm1Mwhqzjbs5m9nBvsHOSBhsGqtfiu/7Re/WxK2CoxIcr4L5GtqOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712048382; 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=HaKcjFk7EqM7Ky0WjbKCyJKHcgn6J8in7P4ls6/QGXw=; b=fCr36WunRDdNlBTa9k//6LWxEnfR9uPxWMY+ZYv/p5iPDmuy2TZuoDmK/xW0eukdXMX/vp A5myY03GKMXdUOs6BrxK601pVQdjScwJ06Ajx5Hq+Kq6OaenpmOy8i+vgO8aJMag/QBh1p NVaiZrAVtBNqnU0on373dBmgzjF7IkwlvCk/SvEvHCuR2rD8dK3orTgbhpibGjegE4Abcy /AuKaSdsPGeJtfHEAmoKHDQgqKleKxBNTeIOduF3/cvvEWiLJ6ZIuFgDnHd1cYI2vRRkEx rocANruFJ4AaADXP2O9fpaIiMFNFEnHjoSbT1J0dNZWQDTZqNRRDt3IC7rCMaA== 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 4V81zK6tTGzj2S; Tue, 2 Apr 2024 08:59:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4328xfq6014651; Tue, 2 Apr 2024 08:59:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4328xflP014648; Tue, 2 Apr 2024 08:59:41 GMT (envelope-from git) Date: Tue, 2 Apr 2024 08:59:41 GMT Message-Id: <202404020859.4328xflP014648@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: 38c74c46b220 - stable/14 - amd64: initialize td_frame stack area for init(8) main thread List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: 38c74c46b220d8f74335026c4dcca0ab368789d2 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=38c74c46b220d8f74335026c4dcca0ab368789d2 commit 38c74c46b220d8f74335026c4dcca0ab368789d2 Author: Konstantin Belousov AuthorDate: 2024-03-25 12:10:43 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-02 08:58:20 +0000 amd64: initialize td_frame stack area for init(8) main thread (cherry picked from commit e0c92dd2b7e62e4f8281c9ad1d31465bb32f9e3b) --- sys/kern/init_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index a8df9f84a29a..8d650c7ea084 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -787,6 +787,7 @@ start_init(void *dummy) */ KASSERT((td->td_pflags & TDP_EXECVMSPC) == 0, ("nested execve")); + memset(td->td_frame, 0, sizeof(*td->td_frame)); oldvmspace = p->p_vmspace; error = kern_execve(td, &args, NULL, oldvmspace); KASSERT(error != 0,