summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-12-21 12:19:23 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-12-21 12:19:23 -0600
commit0d2794600085891d20466df8aa780608547ca22e (patch)
treef4b56f839c738f0b05b54c6595743e59ade4aada
parent34479bbacdaaeaab77ec3ce9ede4c80280b91026 (diff)
downloadkernel-0d2794600085891d20466df8aa780608547ca22e.tar.gz
kernel-0d2794600085891d20466df8aa780608547ca22e.tar.xz
kernel-0d2794600085891d20466df8aa780608547ca22e.zip
BPF workaround forgotten again
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r--patch-6.0-redhat.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patch-6.0-redhat.patch b/patch-6.0-redhat.patch
index d2091440f..2d5077b89 100644
--- a/patch-6.0-redhat.patch
+++ b/patch-6.0-redhat.patch
@@ -2173,3 +2173,30 @@ index 4b95de24bc8d..10047790e96e 100644
#ifdef CONFIG_PERF_EVENTS
int security_perf_event_open(struct perf_event_attr *attr, int type)
{
+From 90c4bd0059367922f88768784bfb7c5ec1bc846c Mon Sep 17 00:00:00 2001
+From: "Justin M. Forbes" <jforbes@fedoraproject.org>
+Date: Thu, 3 Nov 2022 11:34:03 -0500
+Subject: [PATCH] Revert "disable enum64 BTF in fedora rawhide"
+
+This option is not supported by older pahole versions.
+
+This reverts commit 7ab8e0d8b46b7f768e37f8ff39ccae2ecc897396.
+---
+ scripts/pahole-flags.sh | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/scripts/pahole-flags.sh b/scripts/pahole-flags.sh
+index 81c8e082ec57..0d99ef17e4a5 100755
+--- a/scripts/pahole-flags.sh
++++ b/scripts/pahole-flags.sh
+@@ -20,7 +20,4 @@ if [ "${pahole_ver}" -ge "122" ]; then
+ extra_paholeopt="${extra_paholeopt} -j"
+ fi
+
+-# temporary workaround to disable enum64
+-extra_paholeopt="${extra_paholeopt} --skip_encoding_btf_enum64"
+-
+ echo ${extra_paholeopt}
+--
+2.37.3
+