From nobody Fri Nov 22 18:08:53 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 4Xw35164rBz5f9qr; Fri, 22 Nov 2024 18:08:53 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xw3515Mshz4Fj2; Fri, 22 Nov 2024 18:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732298933; 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=wNJoa+3TQTZHPkzHXZ1m6Br7a27sDv8fv+4wrKOVr+U=; b=BlXN4CsGKkW46DIx19bsHEgW01XnE8HEplWFYyntoIK6Wy3GrkupNW7B7bI6kWleuMifGE V5yDGiCX6IRYJ+h3u3p9zRs7R4qKmjSeYbt4G6w0+t/3OKzLEeVxTP/b5Vp4xOHZ5yB4o1 iv4ApzccklUHWgGwEt5gBtZ+eWft3jBCU7XcVc0V1uwuBtPRkEiH5nw8Kt7OD8FjLFxkdY lN6mdgse0zwDNgXhHWij6BYn58eADCymFKHI033mdDcCwhpHQl4zyb1zRX2D8P3x72+0t/ uDBoeYkxJtjAW/vKbPF61X+/fg/F7e1MXzVHmZxDRggMNK5y0mBOnHTuxzaPqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732298933; 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=wNJoa+3TQTZHPkzHXZ1m6Br7a27sDv8fv+4wrKOVr+U=; b=hVF5Ll2NqdOPFFpzpQTAeW+kk9nvQ8XSUu6kG3p+sEwjTBzSoFKQtcHLfyi1N6krak6U+U NrCk18Uw7thrnj+6Wrk4B6ac02cPjsaFa3UNgOXHF0Oedqo/gOO3/lw08U8eNyS1HaL1NO a8vz0cPhRXYDLzepmOsTbQIKqlPdB6DLI5x88zIQgK2zoZzsDecHX2kZfivZUJFZCNaKoV DbTFmwvUc7m+MlExLowmq5WXBYrb5vAJf7rgTEu4gn1F1Gd34EfYqIf/Mc7GAk50qUmN6z ALUjo+bGZRaUREK8ZoiLwtjCv0CyQ4nknQrL77mC2l9AtAhYVjRMfSho4HrpGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732298933; a=rsa-sha256; cv=none; b=gvJWurfZFsX1gCqctdTCyOcvDv/uQBkjN/BMLDT0bF1eSXxofavZD11IKcnyKF4ZlHoVB9 ky5F24s/8/7IqAANLjRCIdxT+/8zHHPnZdjd0V87TzuYkwnWxL0RsNaQYC3YVb4M01uiRo ysdpSxAyMD0AQ2wGBkvC5sAieDUhoj2dap+j60DTEP9gUF3KbRR214nLqgPaqc5Hbk/KkN gbM5jra359lJ36y22OuXTE1QZs17FPNMx5RLL1l+Gay1XC0zu5jK7PsA8gYypi41l72Eu+ SluSWC081KHpOMIQMCK0vDFosgtDmDGbiF+hCeU437thxn9WZ1C0UtRHLdt8bg== 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 4Xw3514r2Wzb8T; Fri, 22 Nov 2024 18:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AMI8rWg016968; Fri, 22 Nov 2024 18:08:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AMI8r9P016965; Fri, 22 Nov 2024 18:08:53 GMT (envelope-from git) Date: Fri, 22 Nov 2024 18:08:53 GMT Message-Id: <202411221808.4AMI8r9P016965@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 66439659982c - main - getentropy: restore unistd.h include 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 66439659982c00f66d0fe002820eaa6610f69ff1 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=66439659982c00f66d0fe002820eaa6610f69ff1 commit 66439659982c00f66d0fe002820eaa6610f69ff1 Author: Ed Maste AuthorDate: 2024-11-22 18:06:09 +0000 Commit: Ed Maste CommitDate: 2024-11-22 18:08:41 +0000 getentropy: restore unistd.h include It is needed for SSP support. Reported by: netchild, Shawn Webb Fixes: 62dab3d016ab ("getentropy: Remove fallback code") Sponsored by: The FreeBSD Foundation --- lib/libc/gen/getentropy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/gen/getentropy.c b/lib/libc/gen/getentropy.c index e87796ace58c..ff5475f9fdb0 100644 --- a/lib/libc/gen/getentropy.c +++ b/lib/libc/gen/getentropy.c @@ -31,6 +31,7 @@ #include #include +#include #include #include "libc_private.h"