public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Mraz <tmraz@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rebase_40beta: Use eventfd2 syscall instead of deprecated eventfd.
Date: Tue, 09 Jun 2026 12:43:51 GMT	[thread overview]
Message-ID: <178100903165.1.18088230455796932722.rpms-openssl-4e52f8d3db47@fedoraproject.org> (raw)

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.

                 reply	other threads:[~2026-06-09 12:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178100903165.1.18088230455796932722.rpms-openssl-4e52f8d3db47@fedoraproject.org \
    --to=tmraz@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox