Searched hist:"2922585 b93294d47172a765115e0dbc1bfe1be19" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/lib/ |
H A D | strncpy_from_user.c | 2922585b93294d47172a765115e0dbc1bfe1be19 Thu May 24 15:12:28 CDT 2012 David S. Miller <davem@davemloft.net> lib: Sparc's strncpy_from_user is generic enough, move under lib/
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@davemloft.net> Acked-by: David Howells <dhowells@redhat.com>
|
H A D | Kconfig | 2922585b93294d47172a765115e0dbc1bfe1be19 Thu May 24 15:12:28 CDT 2012 David S. Miller <davem@davemloft.net> lib: Sparc's strncpy_from_user is generic enough, move under lib/
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@davemloft.net> Acked-by: David Howells <dhowells@redhat.com>
|
H A D | Makefile | 2922585b93294d47172a765115e0dbc1bfe1be19 Thu May 24 15:12:28 CDT 2012 David S. Miller <davem@davemloft.net> lib: Sparc's strncpy_from_user is generic enough, move under lib/
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@davemloft.net> Acked-by: David Howells <dhowells@redhat.com>
|
/openbmc/linux/arch/sparc/ |
H A D | Kconfig | 2922585b93294d47172a765115e0dbc1bfe1be19 Thu May 24 15:12:28 CDT 2012 David S. Miller <davem@davemloft.net> lib: Sparc's strncpy_from_user is generic enough, move under lib/
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@davemloft.net> Acked-by: David Howells <dhowells@redhat.com>
|