public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rebase_40beta: Use eventfd2 syscall instead of deprecated eventfd.
@ 2026-06-09 12:43 Tomas Mraz
0 siblings, 0 replies; only message in thread
From: Tomas Mraz @ 2026-06-09 12:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/openssl
Branch : rebase_40beta
Commit : 4e52f8d3db47311932502a6f1e234325ad0a16b7
Author : Tomas Mraz <tmraz@fedoraproject.org>
Date : 2016-10-11T10:58:08+02:00
Stats : +14/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/openssl/c/4e52f8d3db47311932502a6f1e234325ad0a16b7?branch=rebase_40beta
Log:
Use eventfd2 syscall instead of deprecated eventfd.
---
diff --git a/openssl-1.1.0-afalg-eventfd2.patch b/openssl-1.1.0-afalg-eventfd2.patch
new file mode 100644
index 0000000..2d4cbe9
--- /dev/null
+++ b/openssl-1.1.0-afalg-eventfd2.patch
@@ -0,0 +1,12 @@
+diff -up openssl-1.1.0b/engines/afalg/e_afalg.c.eventfd2 openssl-1.1.0b/engines/afalg/e_afalg.c
+--- openssl-1.1.0b/engines/afalg/e_afalg.c.eventfd2 2016-09-26 11:46:07.000000000 +0200
++++ openssl-1.1.0b/engines/afalg/e_afalg.c 2016-10-11 10:56:00.884185249 +0200
+@@ -104,7 +104,7 @@ static ossl_inline int io_setup(unsigned
+
+ static ossl_inline int eventfd(int n)
+ {
+- return syscall(__NR_eventfd, n);
++ return syscall(__NR_eventfd2, n, 0);
+ }
+
+ static ossl_inline int io_destroy(aio_context_t ctx)
diff --git a/openssl.spec b/openssl.spec
index d92965f..ca9ab6f 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -59,6 +59,7 @@ Patch39: openssl-1.1.0-cc-reqs.patch
Patch40: openssl-1.1.0-disable-ssl3.patch
Patch41: openssl-1.1.0-system-cipherlist.patch
Patch42: openssl-1.1.0-fips.patch
+Patch43: openssl-1.1.0-afalg-eventfd2.patch
# Backported fixes including security fixes
License: OpenSSL
@@ -158,6 +159,7 @@ cp %{SOURCE13} test/
%patch40 -p1 -b .disable-ssl3
%patch41 -p1 -b .system-cipherlist
%patch42 -p1 -b .fips
+%patch43 -p1 -b .eventfd2
%build
# Figure out which flags we want to use.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 12:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 12:43 [rpms/openssl] rebase_40beta: Use eventfd2 syscall instead of deprecated eventfd Tomas Mraz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox