Fix: Remove 'type' argument from access_ok() function (v5.0)
[lttng-modules.git] / probes / lttng-probe-user.c
index 4162a7e42d2d94942fa4d5927afff8f95660d807..0d1f95fe00861aec694136b514e07523e285898d 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <linux/uaccess.h>
 #include <linux/module.h>
+#include <wrapper/uaccess.h>
 #include <probes/lttng-probe-user.h>
 
 /*
@@ -30,7 +31,7 @@ long lttng_strlen_user_inatomic(const char *addr)
                char v;
                unsigned long ret;
 
-               if (unlikely(!access_ok(VERIFY_READ,
+               if (unlikely(!lttng_access_ok(VERIFY_READ,
                                (__force const char __user *) addr,
                                sizeof(v))))
                        break;
This page took 0.022582 seconds and 4 git commands to generate.