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.3+.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.3+.patch')
-rw-r--r--dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.3+.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.3+.patch b/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.3+.patch
deleted file mode 100644
index 6926df857179..000000000000
--- a/dev-util/scap-driver/files/0.29.3-fix-kmod-build-on-6.3+.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-
-Bug: https://github.com/falcosecurity/libs/issues/1063
-Subset of patch taken from: https://github.com/falcosecurity/libs/pull/1071
-
-diff --git a/driver/ppm_fillers.c b/driver/ppm_fillers.c
-index 0441923c6d..cfa967f134 100644
---- a/driver/ppm_fillers.c
-+++ b/driver/ppm_fillers.c
-@@ -1329,7 +1329,10 @@ int f_proc_startupdate(struct event_filler_arguments *args)
-
- if (exe_file != NULL) {
- if (file_inode(exe_file) != NULL) {
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 12, 0)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
-+ exe_writable |= (file_permission(exe_file, MAY_WRITE) == 0);
-+ exe_writable |= inode_owner_or_capable(file_mnt_idmap(exe_file), file_inode(exe_file));
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 12, 0)
- exe_writable |= (inode_permission(current_user_ns(), file_inode(exe_file), MAY_WRITE) == 0);
- exe_writable |= inode_owner_or_capable(current_user_ns(), file_inode(exe_file));
- #else