[Bug 1905] check_parent_exists() logic does not cover all cases

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jun 3 11:28:43 EST 2011


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
   Attachment #2045|ok?(djm at mindrot.org)        |ok+
              Flags|                            |

--- Comment #3 from Damien Miller <djm at mindrot.org> 2011-06-03 11:28:42 EST ---
Comment on attachment 2045
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2045
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@

Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list