Message396963
Code needed in a modern patch:
1) Use the system call if compile time configure detected it may be available. (if we just use syscall() rather than a libc wrapper, a configure check may not be necessary, but various #ifdefs likely are)
2) If (1) produces an error saying it isn't available at runtime (ie: running on a kernel that doesn't support it, regardless of where we were built), fall back to another approach (3)
3) if iterating over /proc/$pid/fd works at runtime, use that; else (4)
4) the existing brute force code. |
|
Date |
User |
Action |
Args |
2021-07-05 00:19:38 | gregory.p.smith | set | recipients:
+ gregory.p.smith, georg.brandl, ronaldoussoren, vstinner, ferringb, christian.heimes, rosslagerwall, wmanley |
2021-07-05 00:19:38 | gregory.p.smith | set | messageid: <1625444378.91.0.0119818515255.issue13788@roundup.psfhosted.org> |
2021-07-05 00:19:38 | gregory.p.smith | link | issue13788 messages |
2021-07-05 00:19:38 | gregory.p.smith | create | |
|