diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-03-27 15:10:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-31 10:31:46 +0200 |
commit | 0ba34c87f7ce04232295ebf4991cd3ff36ea5abd (patch) | |
tree | 2e0912f099dbb69fcfcf3b489bf765de83a9e22d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 616fe993f410c589cd928dfb015ccaf9c931dcc1 (diff) |
mips/ptrace: Preserve previous registers for short regset write
commit d614fd58a2834cfe4efa472c33c8f3ce2338b09b upstream.
Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET
to fill all the registers, the thread's old registers are preserved.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions