+1
−0
+0
−144
+3
−0
+2
−0
lib/strncpy_from_user.c
0 → 100644
+146
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>