From nobody Tue Apr 02 15:18:16 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 4V8BN86kBMz5Gpsf; Tue, 2 Apr 2024 15:18:16 +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 4V8BN84D46z4KYn; Tue, 2 Apr 2024 15:18:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712071096; 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=4/OLpLW2qrzX3mQh0qSGuy/UuEZBINmnWlVw+uyWUIs=; b=dNMLyP9fUpVlnZ6sg4X/x2NHjnA8WiofcV128u4qzlRxN3++pVghIyX6BSI3lD3M/OODce 1UpVRWU/nFAzJdV2cdP9a+ZZI50oZ6/yDh/jeETrNJQaB/3PhiXmlKh89g7v1aWsGgr1m1 gM0tjUhuc/cpGqHXlF7ycXXwwskSntp+wAnegOTJPF21XRHVF87RxtYxx5TY+1xF0gjnUa yt6VNeKDgpXo7LUHITm4PUpG+uWO8phSMqigZLG84LEO7iDmWpkImE2rp12d/LllKZSIN1 ihN04XOK8+WeBRfJN5cWx0aYEYl18BMEmcr8BRGLxUL4oz3+EP4+IB9XnMDv9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712071096; a=rsa-sha256; cv=none; b=iieXHQX4S8IGzqH0bR7g3nqU9GANB8wTQ9Ca1MT/N5hWMOQBi+YzrbrYsfPyPHWug4t9Y9 dUhUeLkDXi1ubtkuGNu1dIZo5bxKgW4tampJXGxncSyLcntyonra5HYpeJTqfxQyg74fEb 2Jf0+tnsMujwQ02H9PkXJAAv19tR/g3nUMHiqN+hY0+DBIHL+B1o1XpAIg+fq98MebFBZY cfwgsvMZQ9kxvKWX645QhuoHdHOYxwtXUPNuVcmzq7STTMLB2TcRVqCw3inCmXowiMo7fU b1BR2eh6MDnw1vX5n2mFF+1uGY2Q2hfFFApR68LubQQxCLg7uD3ff1Wrno2p/w== 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=1712071096; 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=4/OLpLW2qrzX3mQh0qSGuy/UuEZBINmnWlVw+uyWUIs=; b=dT8Y9Tot45LREttAsV5Wwys1iY9nGnJCs6a+WkpX3HF9CDjaD223oddMvEDBQG7U5YhP03 untwNHR16/0gIcuTue3I1wT4uY/VAR+N0VHnNK+zz8nkMaRAF23rppb6jGbibk/NFrsviS TLBKHWiutA1i7yOr0yYA/yyvAPewou0cxgyx1ODWYlzbvyO3Wv0s3jGsQy2HXUsb/wBFhR kXPVbfL8bPjJ/a2DvoR7hvWuXtAsbvYYoS2/x3EHV7r2YDi1cdxsmeBH2Cl2Fz8jGmohlF 4P7Xmdog83Io0cKS3S4Q44ZPS5T6i/CttRc6qy1j2ytipAj6/9+AO9Dfp8B+Vg== 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 4V8BN83pF0zttx; Tue, 2 Apr 2024 15:18:16 +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 432FIGgh057736; Tue, 2 Apr 2024 15:18:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 432FIGD8057733; Tue, 2 Apr 2024 15:18:16 GMT (envelope-from git) Date: Tue, 2 Apr 2024 15:18:16 GMT Message-Id: <202404021518.432FIGD8057733@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: c787fedf1262 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: c787fedf1262c253faac09b95184e409b26c2f1e Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c787fedf1262c253faac09b95184e409b26c2f1e commit c787fedf1262c253faac09b95184e409b26c2f1e Author: Konstantin Belousov AuthorDate: 2024-03-25 12:10:43 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-02 15:18:00 +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 73d78ad16df3..1a8269b8b367 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -783,6 +783,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,