projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrapper: remove lttng_access_ok() wrapper
[lttng-modules.git]
/
probes
/
lttng-probe-user.c
diff --git
a/probes/lttng-probe-user.c
b/probes/lttng-probe-user.c
index b777c40dfeb0ff23b95f7fb50a7769b366a0b4c6..411899d16497fa483e65cf70108665adc0cb9c56 100644
(file)
--- a/
probes/lttng-probe-user.c
+++ b/
probes/lttng-probe-user.c
@@
-7,7
+7,6
@@
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/module.h>
-#include <wrapper/uaccess.h>
#include <probes/lttng-probe-user.h>
/*
#include <probes/lttng-probe-user.h>
/*
@@
-31,8
+30,7
@@
long lttng_strlen_user_inatomic(const char *addr)
char v;
unsigned long ret;
char v;
unsigned long ret;
- if (unlikely(!lttng_access_ok(VERIFY_READ,
- (__force const char __user *) addr,
+ if (unlikely(!access_ok((__force const char __user *) addr,
sizeof(v))))
break;
ret = __copy_from_user_inatomic(&v,
sizeof(v))))
break;
ret = __copy_from_user_inatomic(&v,
This page took
0.023827 seconds
and
4
git commands to generate.