Skip to content
Commit 5fe81fe9 authored by Dave Martin's avatar Dave Martin Committed by Linus Torvalds
Browse files

metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS



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: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a78ce80d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment