Heiko Carstens 3a9f4f1984 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:21:51 +02:00
..
2018-04-27 06:51:31 +02:00
2018-08-19 10:38:36 -07:00
2018-11-13 11:08:46 -08:00
2018-04-16 09:10:22 +02:00
2021-07-20 16:15:55 +02:00
2022-05-18 09:42:49 +02:00