[Bug 221700] lang/python??: subprocess does not use closefrom, calls close(2) hundreds of thousands of times
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 3 15:18:55 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221700
--- Comment #10 from Ed Maste <emaste at freebsd.org> ---
A twitter discussion referenced this PR and the question of
async-signal-saftiness of closefrom:
https://twitter.com/koobs/status/1046674765585367041
Note that closefrom is in sigaction(2)'s list of async-signal-safe functions,
in the "Base Interfaces not specified as async-signal safe by POSIX, but
planned to be:" section. These are interfaces that are async-signal-safe in
FreeBSD, are not currently required to be so by POSIX, but are expected to be
so in the future. That said, I am not sure why closefrom is in that list and
not 'Extension Interfaces' as POSIX does not specify closefrom.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list