arm64: User access library functions
This patch add support for various user access functions. These functions use the standard LDR/STR instructions and not the LDRT/STRT variants in order to allow kernel addresses (after set_fs(KERNEL_DS)). Signed-off-by: NWill Deacon <will.deacon@arm.com> Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com> Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com> Acked-by: NTony Lindgren <tony@atomide.com> Acked-by: NNicolas Pitre <nico@linaro.org> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
Showing
arch/arm64/include/asm/uaccess.h
0 → 100644
arch/arm64/lib/clear_user.S
0 → 100644
arch/arm64/lib/copy_from_user.S
0 → 100644
arch/arm64/lib/copy_in_user.S
0 → 100644
arch/arm64/lib/copy_to_user.S
0 → 100644
arch/arm64/lib/strnlen_user.S
0 → 100644
想要评论请 注册 或 登录