diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-14 21:19:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-14 21:19:05 -0400 |
commit | b26b5ef5ec7eab0e1d84c5b281e87b2f2a5e0586 (patch) | |
tree | 3fd57787765f05a19b85b384bd2a68cb4f9276d4 /arch/arm/lib | |
parent | 87dbe42a16b654e33665756c63e96c0fa73eb003 (diff) | |
parent | 2692a71bbd40160165e89d5505c5c28144ec5a42 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull more misc uaccess and vfs updates from Al Viro:
"The rest of the stuff from -next (more uaccess work) + assorted fixes"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
score: traps: Add missing include file to fix build error
fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths
fs/super.c: fix race between freeze_super() and thaw_super()
overlayfs: Fix setting IOP_XATTR flag
iov_iter: kernel-doc import_iovec() and rw_copy_check_uvector()
blackfin: no access_ok() for __copy_{to,from}_user()
arm64: don't zero in __copy_from_user{,_inatomic}
arm: don't zero in __copy_from_user_inatomic()/__copy_from_user()
arc: don't leak bits of kernel stack into coredump
alpha: get rid of tail-zeroing in __copy_user()
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/copy_from_user.S | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/lib/copy_from_user.S b/arch/arm/lib/copy_from_user.S index f549c57ea435..63e4c1ed0225 100644 --- a/arch/arm/lib/copy_from_user.S +++ b/arch/arm/lib/copy_from_user.S | |||
@@ -100,12 +100,9 @@ EXPORT_SYMBOL(arm_copy_from_user) | |||
100 | .pushsection .fixup,"ax" | 100 | .pushsection .fixup,"ax" |
101 | .align 0 | 101 | .align 0 |
102 | copy_abort_preamble | 102 | copy_abort_preamble |
103 | ldmfd sp!, {r1, r2} | 103 | ldmfd sp!, {r1, r2, r3} |
104 | sub r3, r0, r1 | 104 | sub r0, r0, r1 |
105 | rsb r1, r3, r2 | 105 | rsb r0, r0, r2 |
106 | str r1, [sp] | ||
107 | bl __memzero | ||
108 | ldr r0, [sp], #4 | ||
109 | copy_abort_end | 106 | copy_abort_end |
110 | .popsection | 107 | .popsection |
111 | 108 | ||