lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Aug 2015 16:10:44 +0800
From:	Ley Foon Tan <lftan@...era.com>
To:	James Hogan <james.hogan@...tec.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Linux-Arch <linux-arch@...r.kernel.org>,
	"nios2-dev@...ts.rocketboards.org" <nios2-dev@...ts.rocketboards.org>
Subject: Re: [PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user
 to modules

On Fri, Aug 7, 2015 at 11:21 PM, James Hogan <james.hogan@...tec.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@...tec.com>
> Cc: Ley Foon Tan <lftan@...era.com>
> Cc: nios2-dev@...ts.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@...era.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ