summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-23 14:14:20 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-23 14:14:20 +0200
commit4250131c3c11b35ca66dd52adad47e9c83a0cc5d (patch)
tree0b6c3350285e54d83e3585874cea4c047a90bffc /sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch
parentsys-apps/less: drop 563-r1 (diff)
downloadgentoo-4250131c3c11b35ca66dd52adad47e9c83a0cc5d.tar.gz
gentoo-4250131c3c11b35ca66dd52adad47e9c83a0cc5d.tar.bz2
gentoo-4250131c3c11b35ca66dd52adad47e9c83a0cc5d.zip
sys-apps/util-linux: drop 2.35.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch')
-rw-r--r--sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch b/sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch
deleted file mode 100644
index 85e4d705735c..000000000000
--- a/sys-apps/util-linux/files/util-linux-2.35.1-cleanup-pidfd-include.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 0a4035ff2e4fd5b5ae0cf8f8665696c2aff53b75 Mon Sep 17 00:00:00 2001
-From: Karel Zak <kzak@redhat.com>
-Date: Tue, 10 Mar 2020 11:43:16 +0100
-Subject: [PATCH] include: cleanup pidfd inckudes
-
-Signed-off-by: Karel Zak <kzak@redhat.com>
----
- include/pidfd-utils.h | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/include/pidfd-utils.h b/include/pidfd-utils.h
-index 0baedd2c9..4a6c3a604 100644
---- a/include/pidfd-utils.h
-+++ b/include/pidfd-utils.h
-@@ -3,10 +3,10 @@
-
- #if defined(__linux__)
- # include <sys/syscall.h>
--# if defined(SYS_pidfd_send_signal)
-+# if defined(SYS_pidfd_send_signal) && defined(SYS_pidfd_open)
- # include <sys/types.h>
-
--# ifndef HAVE_PIDFD_OPEN
-+# ifndef HAVE_PIDFD_SEND_SIGNAL
- static inline int pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
- unsigned int flags)
- {
-@@ -14,7 +14,7 @@ static inline int pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
- }
- # endif
-
--# ifndef HAVE_PIDFD_SEND_SIGNAL
-+# ifndef HAVE_PIDFD_OPEN
- static inline int pidfd_open(pid_t pid, unsigned int flags)
- {
- return syscall(SYS_pidfd_open, pid, flags);