Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1202822 > unrolled thread
| Started by | James Hogan <james.hogan@imgtec.com> |
|---|---|
| First post | 2015-08-07 17:30 +0200 |
| Last post | 2015-08-10 10:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user to modules James Hogan <james.hogan@imgtec.com> - 2015-08-07 17:30 +0200
Re: [PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user to modules Ley Foon Tan <lftan@altera.com> - 2015-08-10 10:20 +0200
| From | James Hogan <james.hogan@imgtec.com> |
|---|---|
| Date | 2015-08-07 17:30 +0200 |
| Subject | [PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user to modules |
| Message-ID | <pURKP-3vi-27@gated-at.bofh.it> |
Update the nios2 architecture code to export strncpy_from_user() and
strnlen_user() to modules. The test_user_copy module will soon test
them.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: nios2-dev@lists.rocketboards.org
---
arch/nios2/mm/uaccess.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/nios2/mm/uaccess.c b/arch/nios2/mm/uaccess.c
index 7663e156ff4f..ecd8b122948b 100644
--- a/arch/nios2/mm/uaccess.c
+++ b/arch/nios2/mm/uaccess.c
@@ -146,6 +146,7 @@ long strncpy_from_user(char *__to, const char __user *__from, long __len)
l--;
return l;
}
+EXPORT_SYMBOL(strncpy_from_user);
long strnlen_user(const char __user *s, long n)
{
@@ -161,3 +162,4 @@ long strnlen_user(const char __user *s, long n)
}
return n + 1;
}
+EXPORT_SYMBOL(strnlen_user);
--
2.3.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Ley Foon Tan <lftan@altera.com> |
|---|---|
| Date | 2015-08-10 10:20 +0200 |
| Subject | Re: [PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user to modules |
| Message-ID | <pVQtk-m5-11@gated-at.bofh.it> |
| In reply to | #1202822 |
On Fri, Aug 7, 2015 at 11:21 PM, James Hogan <james.hogan@imgtec.com> wrote:
> Update the nios2 architecture code to export strncpy_from_user() and
> strnlen_user() to modules. The test_user_copy module will soon test
> them.
>
> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> Cc: Ley Foon Tan <lftan@altera.com>
> Cc: nios2-dev@lists.rocketboards.org
> ---
> arch/nios2/mm/uaccess.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/nios2/mm/uaccess.c b/arch/nios2/mm/uaccess.c
> index 7663e156ff4f..ecd8b122948b 100644
> --- a/arch/nios2/mm/uaccess.c
> +++ b/arch/nios2/mm/uaccess.c
> @@ -146,6 +146,7 @@ long strncpy_from_user(char *__to, const char __user *__from, long __len)
> l--;
> return l;
> }
> +EXPORT_SYMBOL(strncpy_from_user);
>
> long strnlen_user(const char __user *s, long n)
> {
> @@ -161,3 +162,4 @@ long strnlen_user(const char __user *s, long n)
> }
> return n + 1;
> }
> +EXPORT_SYMBOL(strnlen_user);
Acked-by: Ley Foon Tan <lftan@altera.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web