• Chris Metcalf's avatar
    tile: fix strncpy_from_user bug · c0f06010
    Chris Metcalf authored
    In strncpy_from_user_asm, when the destination buffer length was the
    same as the actual string length, we were returning the size of the
    destination buffer.  But since it's a NUL terminated string, we should
    return the length of the string instead.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
    c0f06010
usercopy_32.S 4.1 KB