This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gregory.p.smith, iritkatriel, neologix, pitrou, serhiy.storchaka, sstewartgallus, vstinner
Date 2020-12-08.10:27:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607423220.59.0.230288871063.issue21627@roundup.psfhosted.org>
In-reply-to
Content
Linux 5.9 added close_range() syscall that we can use.

Linux 5.10 may get a new CLOSE_RANGE_CLOEXEC flag for close_range().
https://lwn.net/Articles/837816/

We may use close_range() rather than iterating on /proc/self/fd/ in user space. It may be faster and safer.
History
Date User Action Args
2020-12-08 10:27:00vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, neologix, serhiy.storchaka, sstewartgallus, iritkatriel
2020-12-08 10:27:00vstinnersetmessageid: <1607423220.59.0.230288871063.issue21627@roundup.psfhosted.org>
2020-12-08 10:27:00vstinnerlinkissue21627 messages
2020-12-08 10:27:00vstinnercreate