Remove the signal value check from the PT_STEP codepath. It
can cause an bogus failure. Reviewed by: Sean Eric Fagan <sef@kithrup.com> and no other response to the review request.
This commit is contained in:
parent
0b0c10b48d
commit
2ec40c9aac
@ -322,7 +322,7 @@ ptrace(curp, uap)
|
||||
case PT_STEP:
|
||||
case PT_CONTINUE:
|
||||
case PT_DETACH:
|
||||
if ((unsigned)uap->data >= NSIG)
|
||||
if ((uap->req != PT_STEP) && ((unsigned)uap->data >= NSIG))
|
||||
return EINVAL;
|
||||
|
||||
PHOLD(p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user