| Summary: | check_parent_exists() logic does not cover all cases | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Daniel Kahn Gillmor <dkg> | ||||
| Component: | ssh-agent | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | dtucker | ||||
| Priority: | P2 | ||||||
| Version: | 5.8p2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1845 | ||||||
| Attachments: |
|
||||||
|
Description
Daniel Kahn Gillmor
2011-05-13 05:32:09 AEST
Created attachment 2045 [details]
patch for check_parent_exists which assumes orphaned processes get reparented to PID 1
Looks reasonable to me. Comment on attachment 2045 [details] patch for check_parent_exists which assumes orphaned processes get reparented to PID 1 >+ * Don't just test whether kill(parent_pid,0) is successful, >+ * because it may fail with EPERM even if the process exists. There is no point mentioning kill() if it is no longer used in the source. Otherwise ok djm@ Thanks, applied, it will be in 5.9. close resolved bugs now that openssh-5.9 has been released |