From nobody Wed May 8 10:17:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39338+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39338+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1555713522; cv=none; d=zoho.com; s=zohoarc; b=ZTUeh1zXpn9EzBj+zI+Eq6IfARsP5ZbGkQNY6hXQOs/CSxx+PhNlDi2Pjn7tSXfkCjX+5uQKMQkfJo+HiTpvM9tt1c3rvEsixibqnKPiwBtkdz2H5K2PPrBdT+DuPxbSegqnHZ6HeMe8VzLCasjTC2BuX/KYG50UAZS1LBvaNF8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555713522; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=3kj4a0ZIJ27RMZ8xY893ukqsZmqm/RwCt/Aq7ZfvHHw=; b=LLSGuAlHf0g/3B+ahlLjTAh0LsaxI2hTnlouPzvKjRZeUjvTSScFMW0G/Jb0mj4NK/M8eRWdezr1vFGshZ9a6CKARxZLLYx3o3z5O2ET81olioD7Ie/jQc5gHDoXaPPJnLbIHbV54uj+5F0US67fcGcNKyPuGoCacsQO7IJiGEk= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39338+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 15557135221781015.5128285288855; Fri, 19 Apr 2019 15:38:42 -0700 (PDT) Return-Path: X-Received: from muon.bluestop.org (muon.bluestop.org [65.103.231.193]) by groups.io with SMTP; Fri, 19 Apr 2019 15:38:41 -0700 X-Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 68D3AC2061; Fri, 19 Apr 2019 16:40:24 -0600 (MDT) X-Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u2J-Lwo1zkhW; Fri, 19 Apr 2019 16:40:24 -0600 (MDT) X-Received: from photon.int.bluestop.org (unknown [65.103.231.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Fri, 19 Apr 2019 16:40:24 -0600 (MDT) From: "rebecca via Groups.Io" To: devel@edk2.groups.io, Ting Ye , Gang Wei , Jian Wang Cc: Rebecca Cran Subject: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD Date: Fri, 19 Apr 2019 16:38:29 -0600 Message-Id: <20190419223829.62336-1-rebecca@bluestop.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bluestop.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1555713521; bh=kNeNKcfsWGREOO4qJ5MLA2IC1G5OMDkc4dGDRTGFEZs=; h=Cc:Date:From:Reply-To:Subject:To; b=HFCi5wQWzZ2SmsbnscrCGSZUDmg2COAiTctjB2Wj6w8P1byBTJWYkUIeji7Y5CHuFdw 6ZHp79Tfuk6POnZEVFGeUotTIJsBlkkUaiuJ/pRfMjmcU5TR7iDVdeOzPwwHwsggza4qK Z8gxh/bqsz72EYzb349NncGwOZKIR1RJ5Kg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" When building OpenSSL, the OpenBSD/FreeBSD/DFBSD code in crypto/uid.c calls issetugid(). Add the declaration of this function to CrtLibSupport.h to avoid the need to patch the openssl code on these platforms. Signed-off-by: Rebecca Cran Reviewed-by: Jian J Wang --- CryptoPkg/Library/Include/CrtLibSupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/= Include/CrtLibSupport.h index a241fb96fb..b05c5d908c 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -155,6 +155,7 @@ uid_t getuid (void); uid_t geteuid (void); gid_t getgid (void); gid_t getegid (void); +int issetugid (void); void qsort (void *, size_t, size_t, int (*)(const void *, = const void *)); char *getenv (const char *); char *secure_getenv (const char *); --=20 2.21.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39338): https://edk2.groups.io/g/devel/message/39338 Mute This Topic: https://groups.io/mt/31250604/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-