Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202824

[PATCH v2 04/11] xtensa: Export __strnlen_user to modules

From James Hogan <james.hogan@imgtec.com>
Newsgroups linux.kernel
Subject [PATCH v2 04/11] xtensa: Export __strnlen_user to modules
Date 2015-08-07 17:30 +0200
Message-ID <pURKP-3vi-29@gated-at.bofh.it> (permalink)
References <pURKO-3vi-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Update the Xtensa architecture code to export __strnlen_user() to
modules, so that modules can make use of strnlen_user() and
strlen_user(). For example the test_user_copy module will soon test
them.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
---
 arch/xtensa/kernel/xtensa_ksyms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c
index 4d2872fd9bb5..1a47bb621816 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -42,6 +42,7 @@ EXPORT_SYMBOL(memset);
 EXPORT_SYMBOL(memcpy);
 EXPORT_SYMBOL(memmove);
 EXPORT_SYMBOL(__strncpy_user);
+EXPORT_SYMBOL(__strnlen_user);
 EXPORT_SYMBOL(clear_page);
 EXPORT_SYMBOL(copy_page);
 
-- 
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/11] test_user_copy improvements James Hogan <james.hogan@imgtec.com> - 2015-08-07 17:30 +0200
  [PATCH v2 04/11] xtensa: Export __strnlen_user to modules James Hogan <james.hogan@imgtec.com> - 2015-08-07 17:30 +0200
  [PATCH v2 11/11] test_user_copy: Check user checksum functions James Hogan <james.hogan@imgtec.com> - 2015-08-07 17:30 +0200
  Re: [PATCH v2 00/11] test_user_copy improvements Kees Cook <keescook@chromium.org> - 2015-08-08 02:00 +0200
  Re: [PATCH v2 00/11] test_user_copy improvements David Miller <davem@redhat.com> - 2015-08-11 00:30 +0200
    Re: [PATCH v2 00/11] test_user_copy improvements David Miller <davem@davemloft.net> - 2015-08-11 06:10 +0200
      Re: [PATCH v2 00/11] test_user_copy improvements Geert Uytterhoeven <geert@linux-m68k.org> - 2015-08-11 13:30 +0200
        Re: [PATCH v2 00/11] test_user_copy improvements David Miller <davem@davemloft.net> - 2015-08-12 23:40 +0200
    Re: [PATCH v2 00/11] test_user_copy improvements James Hogan <james.hogan@imgtec.com> - 2015-08-11 13:10 +0200
      Re: [PATCH v2 00/11] test_user_copy improvements David Miller <davem@davemloft.net> - 2015-08-11 19:40 +0200

csiph-web