fix: uaccess wrapper for CentOS >= 4.18.0-147
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 2 Apr 2020 18:08:36 +0000 (14:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Apr 2020 20:00:56 +0000 (16:00 -0400)
Fixes: #1253
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I2a79c1c0e897a6148e60e5599949cd2778d09d50

wrapper/uaccess.h

index c56427c5173ea7e3736de0a8ea2dc526141a9d91..c562e349648599ec60314b1eec8b835ade0973b1 100644 (file)
@@ -13,7 +13,8 @@
 #include <linux/uaccess.h>
 #include <lttng-kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0) || \
+       LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0))
 
 #define VERIFY_READ    0
 #define VERIFY_WRITE   1
This page took 0.026507 seconds and 4 git commands to generate.