forked from Minki/linux
s390/compat: fix compat wrappers for process_vm system calls
The compat wrappers incorrectly called the non compat versions of the system process_vm system calls. Cc: stable@vger.kernel.org Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
5ab37e1b22
commit
82aabdb6f1
@ -1635,7 +1635,7 @@ ENTRY(compat_sys_process_vm_readv_wrapper)
|
||||
llgfr %r6,%r6 # unsigned long
|
||||
llgf %r0,164(%r15) # unsigned long
|
||||
stg %r0,160(%r15)
|
||||
jg sys_process_vm_readv
|
||||
jg compat_sys_process_vm_readv
|
||||
|
||||
ENTRY(compat_sys_process_vm_writev_wrapper)
|
||||
lgfr %r2,%r2 # compat_pid_t
|
||||
@ -1645,4 +1645,4 @@ ENTRY(compat_sys_process_vm_writev_wrapper)
|
||||
llgfr %r6,%r6 # unsigned long
|
||||
llgf %r0,164(%r15) # unsigned long
|
||||
stg %r0,160(%r15)
|
||||
jg sys_process_vm_writev
|
||||
jg compat_sys_process_vm_writev
|
||||
|
Loading…
Reference in New Issue
Block a user