Heiko Carstens 34b74c32ff 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:24:03 +02:00
..
2019-07-23 10:45:53 +02:00
2020-06-30 15:37:05 -04:00
2021-09-15 09:47:28 +02:00
2023-02-06 07:52:49 +01:00
2019-09-17 14:04:43 -07:00
2021-11-26 10:47:21 +01:00
2023-02-06 07:52:49 +01:00
2018-02-27 08:05:23 +01:00
2019-06-07 10:09:37 +02:00
2019-09-17 14:04:43 -07:00