summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-18 17:04:48 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-19 15:44:15 +0100
commit77f7d9823da97af302ebf23358c17919f3d62bdd (patch)
tree7c4e238d180a6b5e996848b54cdf54127bee32e1 /dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch
parentMove {dev-util → dev-debug}/systemtap (diff)
downloadgentoo-77f7d9823da97af302ebf23358c17919f3d62bdd.tar.gz
gentoo-77f7d9823da97af302ebf23358c17919f3d62bdd.tar.bz2
gentoo-77f7d9823da97af302ebf23358c17919f3d62bdd.zip
Move {dev-util → dev-debug}/scap-driver
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34882 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch')
-rw-r--r--dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch b/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch
deleted file mode 100644
index ac0a4aeca285..000000000000
--- a/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.4+.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-
-From: https://github.com/falcosecurity/libs/pull/1110
-Bug: https://github.com/falcosecurity/libs/issues/1109
-
-From 394c9d84e64ad9828cdce6cdad5a76c352e252d2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <holger@applied-asynchrony.com>
-Date: Fri, 19 May 2023 03:54:40 +0200
-Subject: [PATCH] fix(driver): fixed 6.4 kernel build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
----
- driver/main.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/driver/main.c b/driver/main.c
-index 380f85c27c..668e45429a 100644
---- a/driver/main.c
-+++ b/driver/main.c
-@@ -2912,7 +2912,11 @@ int scap_init(void)
- goto init_module_err;
- }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
- g_ppm_class = class_create(THIS_MODULE, DRIVER_DEVICE_NAME);
-+#else
-+ g_ppm_class = class_create(DRIVER_DEVICE_NAME);
-+#endif
- if (IS_ERR(g_ppm_class)) {
- pr_err("can't allocate device class\n");
- ret = -EFAULT;