Re: OpenSSH server fails to terminate executed program under certain conditions

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue Jun 3, 2025 at 8:37 PM -03, Damien Miller wrote:
> I'd describe the behaviour as "incidental" :)
Fair enough :)

> The session child process is started via fork() and there is a small
> window before it becomes a process group leader via setsid(). Your test
> is hitting that window.
>
> I think we could eliminate this window by adding an interlock between
> the parent and child. Does this work for you?
Yes, I was not able to reproduce it with the patch. Thank you!
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux