diff options
author | Roland McGrath <roland@redhat.com> | 2008-06-30 14:02:41 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-01 11:03:31 +0200 |
commit | 45fdc3a7624a4a48185a04ae0abab5f9793d8952 (patch) | |
tree | 1f741448802f07a88479a2d4266cda9b875756da /include/linux/start_kernel.h | |
parent | e1441b9a41c33aa9236008a7cfe49a8e723fb397 (diff) |
x86 ptrace: fix PTRACE_GETFPXREGS error
ptrace has always returned only -EIO for all failures to access
registers. The user_regset calls are allowed to return a more
meaningful variety of errors. The REGSET_XFP calls use -ENODEV
for !cpu_has_fxsr hardware. Make ptrace return the traditional
-EIO instead of the error code from the user_regset call.
Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions