• Arnd Bergmann's avatar
    asm-generic/uaccess.h: remove __strncpy_from_user/__strnlen_user · f27180dd
    Arnd Bergmann authored
    This is a preparation for changing over architectures to the
    generic implementation one at a time. As there are no callers
    of either __strncpy_from_user() or __strnlen_user(), fold these
    into the strncpy_from_user() and strnlen_user() functions to make
    each implementation independent of the others.
    
    Many of these implementations have known bugs, but the intention
    here is to not change behavior at all and stay compatible with
    those bugs for the moment.
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    f27180dd
uaccess.c 7.8 KB