OrangePi_CM5/arch/nds32/include/asm
Arnd Bergmann 2b5a6d7714 nds32: fix access_ok() checks in get/put_user
commit 8926d88ced46700bf6117ceaf391480b943ea9f4 upstream.

The get_user()/put_user() functions are meant to check for
access_ok(), while the __get_user()/__put_user() functions
don't.

This broke in 4.19 for nds32, when it gained an extraneous
check in __get_user(), but lost the check it needs in
__put_user().

Fixes: 487913ab18 ("nds32: Extract the checking and getting pointer to a macro")
Cc: stable@vger.kernel.org @ v4.19+
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-28 09:57:10 +02:00
..
Kbuild local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
assembler.h
…
barrier.h
…
bitfield.h
…
cache.h
…
cache_info.h
…
cacheflush.h mm: rename flush_icache_user_range to flush_icache_user_page 2020-06-08 11:05:58 -07:00
current.h
…
delay.h
…
elf.h
…
fixmap.h
…
fpu.h
…
fpuemu.h
…
ftrace.h
…
futex.h futex: arch_futex_atomic_op_inuser() calling conventions change 2020-03-27 23:58:51 -04:00
highmem.h mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
io.h nds32: use generic ioremap 2019-11-12 11:37:58 +01:00
irqflags.h nds32: Implement arch_irqs_disabled() 2020-08-26 12:41:55 +02:00
l2_cache.h
…
linkage.h
…
memory.h
…
mmu.h
…
mmu_context.h
…
nds32.h
…
nds32_fpu_inst.h
…
page.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
perf_event.h
…
pgalloc.h nds32: use pgtable-nopmd instead of 4level-fixup 2019-12-04 19:44:15 -08:00
pgtable.h mm: consolidate pte_index() and pte_offset_*() definitions 2020-06-09 09:39:14 -07:00
pmu.h
…
proc-fns.h
…
processor.h
…
ptrace.h
…
sfp-machine.h
…
shmparam.h
…
stacktrace.h
…
string.h
…
suspend.h
…
swab.h
…
syscall.h
…
syscalls.h
…
thread_info.h
…
tlb.h nds32: use pgtable-nopmd instead of 4level-fixup 2019-12-04 19:44:15 -08:00
tlbflush.h
…
uaccess.h nds32: fix access_ok() checks in get/put_user 2022-03-28 09:57:10 +02:00
unistd.h
…
vdso.h
…
vdso_datapage.h
…
vdso_timer_info.h
…
vermagic.h arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h> 2020-04-23 10:50:26 +09:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00