summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-07-21 10:32:15 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-07-21 10:32:23 +0200
commite2e6d6b3716f84594d7a2dd91893cc4fe5fee04e (patch)
tree20d58227bda58cb04074df2b971aa609404a9269 /sys-libs/libseccomp/files
parentsys-libs/libseccomp: Bump to version 2.5.0 (diff)
downloadgentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.tar.gz
gentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.tar.bz2
gentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.zip
sys-libs/libseccomp: Removed old
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/libseccomp/files')
-rw-r--r--sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch b/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch
deleted file mode 100644
index 9194706efa06..000000000000
--- a/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c Mon Sep 17 00:00:00 2001
-From: Miroslav Lichvar <mlichvar@redhat.com>
-Date: Wed, 13 Nov 2019 13:36:10 +0100
-Subject: [PATCH] api: define __SNR_ppoll again
-
-Commit bf747eb21e428c2b3ead6ebcca27951b681963a0 accidentally removed the
-__SNR_ppoll definition. Add it back, using a PNR value if disabled in
-the kernel headers.
-
-Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
-Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
-Signed-off-by: Paul Moore <paul@paul-moore.com>
----
- include/seccomp-syscalls.h | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
-index 6457592..3c958df 100644
---- a/include/seccomp-syscalls.h
-+++ b/include/seccomp-syscalls.h
-@@ -272,6 +272,7 @@
- #define __PNR_timerfd_gettime64 -10238
- #define __PNR_timerfd_settime64 -10239
- #define __PNR_utimensat_time64 -10240
-+#define __PNR_ppoll -10241
-
- /*
- * libseccomp syscall definitions
-@@ -1359,6 +1360,12 @@
- #define __SNR_poll __PNR_poll
- #endif
-
-+#ifdef __NR_ppoll
-+#define __SNR_ppoll __NR_ppoll
-+#else
-+#define __SNR_ppoll __PNR_ppoll
-+#endif
-+
- #ifdef __NR_ppoll_time64
- #define __SNR_ppoll_time64 __NR_ppoll_time64
- #else