projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move headers under include/
[lttng-modules.git]
/
probes
/
lttng-probe-user.c
diff --git
a/probes/lttng-probe-user.c
b/probes/lttng-probe-user.c
index 4162a7e42d2d94942fa4d5927afff8f95660d807..4f5728ac3e150bd0ff68611d0acb8e297f51ef57 100644
(file)
--- a/
probes/lttng-probe-user.c
+++ b/
probes/lttng-probe-user.c
@@
-1,4
+1,4
@@
-/* SPDX-License-Identifier: (GPL-2.0
or LGPL-2.1
)
+/* SPDX-License-Identifier: (GPL-2.0
-only or LGPL-2.1-only
)
*
* lttng-probe-user.c
*
*
* lttng-probe-user.c
*
@@
-7,7
+7,7
@@
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/module.h>
-#include <
probes
/lttng-probe-user.h>
+#include <
lttng
/lttng-probe-user.h>
/*
* Calculate string length. Include final null terminating character if there is
/*
* Calculate string length. Include final null terminating character if there is
@@
-30,8
+30,7
@@
long lttng_strlen_user_inatomic(const char *addr)
char v;
unsigned long ret;
char v;
unsigned long ret;
- if (unlikely(!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.023562 seconds
and
4
git commands to generate.