From: Suresh Siddha Date: Mon, 22 Feb 2010 22:51:32 +0000 (-0800) Subject: ptrace: Fix ptrace_regset() comments and diagnose errors specifically X-Git-Tag: v2.6.34-rc1~249^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6a0dd7ec6fb2d4927979ed4dc562fc5c122d826;p=pandora-kernel.git ptrace: Fix ptrace_regset() comments and diagnose errors specifically Return -EINVAL for the bad size and for unrecognized NT_* type in ptrace_regset() instead of -EIO. Also update the comments for this ptrace interface with more clarifications. Requested-by: Roland McGrath Requested-by: Oleg Nesterov Signed-off-by: Suresh Siddha LKML-Reference: <20100222225240.397523600@sbs-t61.sc.intel.com> Acked-by: Roland McGrath Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed