[gnutls-devel] GnuTLS | GnuTLS leaks file descriptors in child processes (#985)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun May 24 23:18:08 CEST 2020




Tim Rühsen commented on a discussion: https://gitlab.com/gnutls/gnutls/-/issues/985#note_348040454

But let's think about what happens when being forked... should a forked thread fail, e.g. when in the middle of reading a file ? That might break the forked process or at least throws up errors - the consequences are unforseeable.

So each case of open / fopen has to be thought of. Forking a multi-threaded process without a defined state of the threads is almost uncontrollable and IMO one of the worst ideas I heard of in a long time.

@daiki I have to leave the decision on you.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/985#note_348040454
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200524/cb99d381/attachment.html>


More information about the Gnutls-devel mailing list