From: Roland McGrath Date: Mon, 30 Jun 2008 21:02:41 +0000 (-0700) Subject: x86 ptrace: fix PTRACE_GETFPXREGS error X-Git-Tag: v2.6.27-rc1~1106^2~249^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45fdc3a7624a4a48185a04ae0abab5f9793d8952;p=pandora-kernel.git 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 Cc: stable@kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed