diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-03-27 15:10:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-29 08:54:17 -0700 |
commit | d614fd58a2834cfe4efa472c33c8f3ce2338b09b (patch) | |
tree | deec6900fdc5a75b61feafa6dd82e33af6318f51 /arch/sh/kernel/traps_32.c | |
parent | 7195ee3120d878259e8d94a5d9f808116f34d5ea (diff) | |
download | op-kernel-dev-d614fd58a2834cfe4efa472c33c8f3ce2338b09b.zip op-kernel-dev-d614fd58a2834cfe4efa472c33c8f3ce2338b09b.tar.gz |
mips/ptrace: Preserve previous registers for short regset write
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>
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
0 files changed, 0 insertions, 0 deletions