From nobody Fri Feb 24 02:53:37 2023 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 4PNDwy0pWpz3t7RM; Fri, 24 Feb 2023 02:53:38 +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 4PNDwy0GYCz4HG4; Fri, 24 Feb 2023 02:53:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677207218; 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=RljYNks9jAFmTP4lpX/9AQbDDlQSLUKaCBNG7crrZIY=; b=ckjXWIZzeh5JjQc8WLNSsjHUYhwbgN2Mpl4ELYt2Dvq1Ecx1YlbFSSNnBco1xVK4y2/iD5 Nb7GEx68k2sgra9ct6uBAQ9gZk+6g7A7ltgAzzaIWlddAoL5d2LiWzSc5XEgl8h+BV1w3i iiiAE508C//V9w+ocdL3ZW/HdV58RPPSGf79uK2pd/6eQcVZ79XSzvt6DLs1WzcCUA1ogB jodbQzqhH1UUeGH8ObaF/AzCfEwVf4AzFT3s0UrbNDEEgoYd3ofieWyii6491F9nyZduVD UT2u9G/6VnZhOp7p+pgTcgd7bGDaYnIkyu5wPzxcfRRamXYK6CEotaVZoLqTzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677207218; 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=RljYNks9jAFmTP4lpX/9AQbDDlQSLUKaCBNG7crrZIY=; b=O8ZwPjhN6/U1kFG+s/H11/cPGCEA6C9j/JevaHA/Xe6U2iQm70j92AmANywmEhvC0AZRyb 0k/93t6quzZQkzKzavtjn9CF0ajhnI3rpRwDSfe5SOYEzQJDa3u0mbVGndNZumUzF+pnCF bWYUZ8/M7aWpGYvgPwRKugw9f4geNyGDCXQ+T36zOhApSm/cK4JwYmSohk2x63E84iTTYy yY/N6yUKCnNjTsTsFR/C2KKVH1AcB+UQzB3e7503YkiOlKiLIWAr3Ol37dC/dxsGiGF3xQ fhd+wGrzJhaRl5S7P2Kb8Il6h+TEoE+SacLBKUa+6T/YVPUnLWyUKTXNlpX7kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677207218; a=rsa-sha256; cv=none; b=ywRgcl1Q/ttPIUaAI0EqXcSzdRFZr+JLdKpBrNub3+QieCJJUk2odVD2IHHIpsTVOoXBmK gWRC2xc6AXBAmgh+HtqfV10T4dYrRHX6l3dF6b8/y6fERw+H4PA/d4XudM1u+dWuFLv18E VgJGeRTijqqrtKBjjm2+OJertZ1dSBMo+OCRQrC+VSOhop0+YalVjV7tvfErDZkxP7Foj2 h+AAW84wn5eMtVFvZomuM8lcNNziJehymDfiE5c+H80f63WlcJ3wA59fJoEgLmXqR7zUFc 8YG/G3hPrhCTwqW3T8SQqqxg5bDQ5bqqqGMCfdeMRvsY2LzhQGFy18jmdZ187w== 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 4PNDwx6QmMz16pC; Fri, 24 Feb 2023 02:53:37 +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 31O2rbsY046986; Fri, 24 Feb 2023 02:53:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31O2rbJx046985; Fri, 24 Feb 2023 02:53:37 GMT (envelope-from git) Date: Fri, 24 Feb 2023 02:53:37 GMT Message-Id: <202302240253.31O2rbJx046985@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 8c8574acb851 - main - config: Include errno.h in mkmakefile.cc 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c8574acb85169447168bdf08d5718ba7cf2be85 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8c8574acb85169447168bdf08d5718ba7cf2be85 commit 8c8574acb85169447168bdf08d5718ba7cf2be85 Author: Mark Johnston AuthorDate: 2023-02-24 02:45:01 +0000 Commit: Mark Johnston CommitDate: 2023-02-24 02:53:06 +0000 config: Include errno.h in mkmakefile.cc Commit da8884202940 ("config: error out on malformed env/hint lines") added a reference to EINVAL. In some configurations the bootstrap tools build fails for lack of errno definitions. Fixes: da8884202940 ("config: error out on malformed env/hint lines") Reported by: syzbot+b1a5d112a737d9a2be9b@syzkaller.appspotmail.com --- usr.sbin/config/mkmakefile.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/config/mkmakefile.cc b/usr.sbin/config/mkmakefile.cc index 2aaed82ce3ee..232933711ce5 100644 --- a/usr.sbin/config/mkmakefile.cc +++ b/usr.sbin/config/mkmakefile.cc @@ -44,6 +44,7 @@ static const char rcsid[] = */ #include +#include #include #include #include