Max Filippov a1a6f8a14c xtensa: fix system_call interaction with ptrace
[ Upstream commit 02ce94c229251555ac726ecfebe3458ef5905fa9 ]

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: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:22 +02:00
..
2019-07-11 10:09:44 -07:00
2019-09-01 13:11:57 -07:00
2018-08-20 12:28:05 -07:00
2018-12-20 14:44:38 -08:00
2019-06-16 23:31:28 -07:00
2020-01-14 20:08:35 +01:00
2020-07-29 10:18:26 +02:00