diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-03-06 12:31:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-26 11:18:56 +0200 |
commit | c3d455d3960c5e6fb50db28a524b32432580b8d5 (patch) | |
tree | 64b8f1a22f10ba0730bf2cb98e58ef789951c78e /scripts/asn1_compiler.c | |
parent | bedf922f2a70ddf217824c5423a7f26e340c14d2 (diff) |
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>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions