Skip to content
Commit c6a0dd7e authored by Suresh Siddha's avatar Suresh Siddha Committed by H. Peter Anvin
Browse files

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: default avatarRoland McGrath <roland@redhat.com>
Requested-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <20100222225240.397523600@sbs-t61.sc.intel.com>
Acked-by: default avatarRoland McGrath <roland@redhat.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 5e6dbc26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment