Summary: | Ptrace requests may be masked by failed signal delivery. | ||
---|---|---|---|
Product: | frysk | Reporter: | Chris Moller <cmoller> |
Component: | general | Assignee: | Andrew Cagney <cagney> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 1496, 2654 | ||
Attachments: | Testcase demonstrating the failure. |
Description
Chris Moller
2006-09-14 16:42:41 UTC
Created attachment 1316 [details]
Testcase demonstrating the failure.
This t/c does two ptrace(PTRACE_DETACH...) operations. The first tries to
deliver an invalid signal--999--thereby failing (rc == -1) and inhibiting the
intended detach. The second delivers a valid SIGKILL and succeeds (rc == 0).
vanilla kernel's ptrace_detach also fails for invalid signal what is the errno in the real failure case? This is really "NOTABUG" but there's no option under "Resolve bug" for that. |