diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-03-27 15:10:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-31 09:49:54 +0200 |
commit | e441102d8c074d63d44329a59f3278573cdc1477 (patch) | |
tree | dd3bf74624ad1d9fdbfea655590d813c803e2588 /drivers/cpufreq/speedstep-lib.c | |
parent | 2d9bc3695012f1ef7465f56302c1e60c48dccde8 (diff) |
metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
commit 5fe81fe98123ce41265c65e95d34418d30d005d1 upstream.
Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET
to fill TXSTATUS, a well-defined default value is used, based on the
task's current value.
Suggested-by: James Hogan <james.hogan@imgtec.com>
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 'drivers/cpufreq/speedstep-lib.c')
0 files changed, 0 insertions, 0 deletions