[GPGME PATCH] core: Restore get_max_fds optimization on Linux

Colin Watson cjwatson at debian.org
Sat Sep 23 20:28:30 CEST 2017


On Tue, Sep 19, 2017 at 05:56:22PM -0400, Daniel Kahn Gillmor wrote:
> i guess arm64 is new enough that it doesn't support the 32-bit
> SYS_getdents at all?

Hmm, I guess so.  Thanks for letting me know.

> Colin, do you want to propose a change to the patch so that it'll build
> on that platform?  should we just move it to getdents64 for all
> platforms?

SYS_getdents64 was added in Linux 2.4, and Python appears to just go
ahead and use that.  I have a plane trip coming up, so I might
experiment with this on the way and see if it's better to use
SYS_getdents64 or to take the fork/exec approach after all.

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Gnupg-devel mailing list