diff options
author | Will Deacon <will.deacon@arm.com> | 2018-02-05 15:34:23 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-02-06 22:53:40 +0000 |
commit | f71c2ffcb20dd8626880747557014bb9a61eb90e (patch) | |
tree | 9142a5c0744c32676ca16219edcff5e807dbf314 /arch/arm64/kernel/arm64ksyms.c | |
parent | 84624087dd7e3b482b7b11c170ebc1f329b3a218 (diff) | |
download | linux-stable-f71c2ffcb20dd8626880747557014bb9a61eb90e.tar.gz linux-stable-f71c2ffcb20dd8626880747557014bb9a61eb90e.tar.bz2 linux-stable-f71c2ffcb20dd8626880747557014bb9a61eb90e.zip |
arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
Like we've done for get_user and put_user, ensure that user pointers
are masked before invoking the underlying __arch_{clear,copy_*}_user
operations.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/arm64ksyms.c')
-rw-r--r-- | arch/arm64/kernel/arm64ksyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c index 67368c7329c0..66be504edb6c 100644 --- a/arch/arm64/kernel/arm64ksyms.c +++ b/arch/arm64/kernel/arm64ksyms.c @@ -37,8 +37,8 @@ EXPORT_SYMBOL(clear_page); /* user mem (segment) */ EXPORT_SYMBOL(__arch_copy_from_user); EXPORT_SYMBOL(__arch_copy_to_user); -EXPORT_SYMBOL(__clear_user); -EXPORT_SYMBOL(raw_copy_in_user); +EXPORT_SYMBOL(__arch_clear_user); +EXPORT_SYMBOL(__arch_copy_in_user); /* physical memory */ EXPORT_SYMBOL(memstart_addr); |