From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@bluestop.org header.s=mail header.b=RoPJUR1e; spf=pass (domain: bluestop.org, ip: 65.103.231.193, mailfrom: rebecca@bluestop.org) 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 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluestop.org; s=mail; t=1555713624; bh=/bYlOcmkf36IGb8nlZYwxr1tqiEuair07XDxq49Tyb0=; h=From:To:Cc:Subject:Date:From; b=RoPJUR1eREWmfYHNt4lDaQSzopxQDmfkKHsdnuhmds9d+69y9gRZ8MfchL7JJRLLJ nbLnsxVDNKP7cQDyBVuPtXVNr5Autspwe0ZAW1IqZ9bDN5jAJzutLErNskUgUlNamk GtMCNX1jYB3H3pWa6ew++lwWi40KzmorO9IYI0y4= 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) 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@bluestop.org To: devel@edk2.groups.io, Ting Ye , Gang Wei , Jian Wang Cc: Rebecca Cran Subject: [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> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- CryptoPkg/Library/Include/CrtLibSupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Librar= y/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