Author gregory.p.smith
Recipients gregory.p.smith, kevans91
Date 2020-10-11.18:48:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
for reference, very recent Linux kernels appear to have gained a close_range syscall.

Your diff isn't quite sufficient as is.  When depending on a syscall that has a function provided by libc, the libc function may exist (thus HAVE_CLOSE_RANGE will be true at Python compile time) but the system the process is running on may not support the system call.  So it'll return an EINVAL (or something like that) error.

Special handling of that error to add an `else {...}` falling back to the other codepath is necessary.
Date User Action Args
2020-10-11 18:48:20gregory.p.smithsetrecipients: + gregory.p.smith, kevans91
2020-10-11 18:48:19gregory.p.smithsetmessageid: <>
2020-10-11 18:48:19gregory.p.smithlinkissue40423 messages
2020-10-11 18:48:19gregory.p.smithcreate