[GPGME PATCH] core: Restore get_max_fds optimization on Linux

Werner Koch wk at gnupg.org
Wed Sep 20 08:58:27 CEST 2017

On Tue, 19 Sep 2017 17:53, alon.barlev at gmail.com said:

> What about of a solution of fork/exec a wrapper that closes handles
> then exec the actual binary?

We do this on Windows since the very beginning and I am glad that we can
eventually can get rid of it due to a new API in Windows-7.  Adding one
to Unix makes me sad.  However, for non-Linux a wrapper might be the
most portable solution (and it would also help to get rid of a
double-fork problem)



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170920/dc5b4afc/attachment-0001.sig>

More information about the Gnupg-devel mailing list