Heiko Carstens 8c746b6650 s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
[ Upstream commit f9bbf25e7b2b74b52b2f269216a92657774f239c ]

Return -EFAULT if put_user() for the PTRACE_GET_LAST_BREAK
request fails, instead of silently ignoring it.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-26 11:27:37 +02:00
..
2020-10-22 13:13:57 -07:00
2021-09-15 09:50:27 +02:00
2023-02-01 08:23:19 +01:00
2020-10-16 12:36:38 -07:00
2021-11-26 10:39:18 +01:00
2020-06-29 16:31:46 +02:00
2023-02-01 08:23:19 +01:00
2020-06-29 16:31:46 +02:00
2020-08-26 18:47:21 +02:00