We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e2782 commit d6d5caaCopy full SHA for d6d5caa
src/compat/compat-asm.h
@@ -10,6 +10,17 @@
10
#include <linux/kconfig.h>
11
#include <linux/version.h>
12
13
+#ifdef RHEL_MAJOR
14
+#if RHEL_MAJOR == 7
15
+#define ISRHEL7
16
+#elif RHEL_MAJOR == 8
17
+#define ISRHEL8
18
+#if RHEL_MINOR == 4
19
+#define ISCENTOS8S
20
+#endif
21
22
23
+
24
/* PaX compatibility */
25
#if defined(RAP_PLUGIN)
26
#undef ENTRY
@@ -40,7 +51,7 @@
40
51
#undef pull
41
52
#endif
42
53
43
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 76)
54
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 76) && !defined(ISCENTOS8S)
44
55
#define SYM_FUNC_START ENTRY
45
56
#define SYM_FUNC_END ENDPROC
46
57
0 commit comments