commit | 45fdc3a7624a4a48185a04ae0abab5f9793d8952 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Mon Jun 30 14:02:41 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Jul 01 11:03:31 2008 +0200 |
tree | 1f741448802f07a88479a2d4266cda9b875756da | |
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>