public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD
@ 2019-04-19 22:38 rebecca
  2019-04-20 11:28 ` [edk2-devel] " Ard Biesheuvel
  0 siblings, 1 reply; 15+ messages in thread
From: rebecca @ 2019-04-19 22:38 UTC (permalink / raw)
  To: devel, Ting Ye, Gang Wei, Jian Wang; +Cc: Rebecca Cran

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 <rebecca@bluestop.org>
---
 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 *);
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-04-27  0:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-19 22:38 [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD rebecca
2019-04-20 11:28 ` [edk2-devel] " Ard Biesheuvel
2019-04-20 11:30   ` Ard Biesheuvel
2019-04-20 17:18   ` rebecca
2019-04-22 13:46     ` Wang, Jian J
2019-04-24  9:25       ` Philippe Mathieu-Daudé
2019-04-24 19:17         ` Laszlo Ersek
2019-04-24 19:29           ` rebecca
2019-04-24 19:36           ` rebecca
2019-04-25  1:06             ` Wang, Jian J
2019-04-26 13:55           ` rebecca
2019-04-26 13:56             ` Andrew Fish
2019-04-26 14:07               ` rebecca
2019-04-26 20:19             ` Laszlo Ersek
2019-04-27  0:06               ` rebecca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox