X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=probes%2Flttng-probe-user.c;h=b777c40dfeb0ff23b95f7fb50a7769b366a0b4c6;hb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;hp=4162a7e42d2d94942fa4d5927afff8f95660d807;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/probes/lttng-probe-user.c b/probes/lttng-probe-user.c index 4162a7e4..b777c40d 100644 --- 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 * @@ -7,6 +7,7 @@ #include #include +#include #include /* @@ -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;