Heiko Carstens 3059a67e02 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 14:28:36 +02:00
..
2021-12-16 19:58:07 +01:00
2021-12-13 12:04:45 -06:00
2021-01-19 12:29:26 +01:00
2023-03-10 09:33:52 +01:00
2022-09-14 16:46:00 +02:00
2022-10-10 12:00:45 -07:00
2022-03-28 17:29:53 -07:00
2022-05-11 14:40:57 +02:00
2022-07-13 14:42:11 +00:00
2023-03-10 09:34:04 +01:00
2022-03-10 15:58:17 +01:00