Re: Restoring block mode on exiting

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

 



Hi Dmitry,

On 24/4/21 12:41 am, Dmitry Belyavskiy wrote:
Could you please take a look at the updated version of the patch?
If I understand correctly, it provides the same blocking state after closing
the channel as it was before closing.

Yes, generally right, but, I feel you've assumed that the files are initially
blocking which is not necessarily so.

Also, the file is closed immediately after clearing blocking mode.  I think
it's worth a comment to say that the file being set to blocking mode is an
alias for stdin, out or err.

_______________________________________________
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