]> git.baikalelectronics.ru Git - kernel.git/commit
x86/uaccess: Don't jump between functions
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 11 Apr 2022 23:10:29 +0000 (16:10 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 19 Apr 2022 19:58:53 +0000 (21:58 +0200)
commit0639768216b1f009719f6ede7c3d43f80f4a4d37
treecf51e684ace301ac98ad7de820d17c36c5dc6002
parent8dd3e26bbbc758feb75d55e38f0ba1ef6979f6d1
x86/uaccess: Don't jump between functions

For unwinding sanity, a function shouldn't jump to the middle of another
function.  Move the short string user copy code out to a separate
non-function code snippet.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/9519e4853148b765e047967708f2b61e56c93186.1649718562.git.jpoimboe@redhat.com
arch/x86/lib/copy_user_64.S