[PATCH] Cygwin: pty: Additional race issue fix regarding pseudo console.

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Apr 21 15:44:10 GMT 2021


On Apr 21 12:06, Takashi Yano wrote:
> - In commit bb93c6d7, the race issue was not completely fixed. In
>   the pseudo console inheritance, if the destination process to
>   which the ownership of pseudo console switches, is found but exits
>   before switching, the inheritance fails. Currently, this extremely
>   rarely happens. This patch fixes the issue.
> ---
>  winsup/cygwin/fhandler_tty.cc | 47 +++++++++++------------------------
>  1 file changed, 14 insertions(+), 33 deletions(-)

This and the other two patches pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list