Skip to content
Commit 02ce94c2 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: fix system_call interaction with ptrace



Don't overwrite return value if system call was cancelled at entry by
ptrace. Return status code from do_syscall_trace_enter so that
pt_regs::syscall doesn't need to be changed to skip syscall.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent ba9c1d65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment