Группа :: Система/Основа
Пакет: openssl1.1
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openssl-owl-alt-issetugid.patch
Скачать
Скачать
--- openssl/crypto/uid.c
+++ openssl/crypto/uid.c
@@ -77,8 +77,12 @@ int OPENSSL_issetugid(void)
# include OPENSSL_UNISTD
# include <sys/types.h>
+extern int __libc_enable_secure;
+
int OPENSSL_issetugid(void)
{
+ if (__libc_enable_secure)
+ return 1;
if (getuid() != geteuid())
return 1;
if (getgid() != getegid())