diff options
| author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-01-24 08:05:52 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-01 08:33:07 +0100 |
| commit | d7f56ee1198a1d0657368abc4dcd10ae109a8433 (patch) | |
| tree | a721d5e142f5dba050f9bd94e5c9052736c72c05 /include/uapi | |
| parent | 62d7f2123f19a7e81c53bcd08f2902cd54c52b64 (diff) | |
s390/ptrace: Preserve previous registers for short regset write
commit 9dce990d2cf57b5ed4e71a9cdbd7eae4335111ff upstream.
Ensure that if userspace supplies insufficient data to
PTRACE_SETREGSET to fill all the registers, the thread's old
registers are preserved.
convert_vx_to_fp() is adapted to handle only a specified number of
registers rather than unconditionally handling all of them: other
callers of this function are adapted appropriately.
Based on an initial patch by Dave Martin.
Reported-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
