commit | 5fe81fe98123ce41265c65e95d34418d30d005d1 | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Mon Mar 27 15:10:56 2017 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 29 08:54:17 2017 -0700 |
tree | 954670ad1295ea964db35e4af2449179d7364245 | |
parent | a78ce80d2c9178351b34d78fec805140c29c193e [diff] |
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: James Hogan <james.hogan@imgtec.com> Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>