Re: [PATCH 3/3] lib: Sparc's strncpy_from_user is generic enough, move under lib/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Miller <davem@xxxxxxxxxxxxx> wrote:

> To use this, an architecture simply needs to:
> 
> 1) Provide a user_addr_max() implementation via asm/uaccess.h
> 
> 2) Add "select GENERIC_STRNCPY_FROM_USER" to their arch Kcnfig
> 
> 3) Remove the existing strncpy_from_user() implementation and symbol
>    exports their architecture had.
> 
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Contingent on removing the extraneous semicolon:

Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux