Message333994
| Author |
izbyshev |
| Recipients |
gregory.p.smith, izbyshev, kevans, koobs, nanjekyejoannah, pablogsal, serhiy.storchaka, vstinner |
| Date |
2019年01月18日.16:59:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1547830784.72.0.162050736224.issue35537@roundup.psfhosted.org> |
| In-reply-to |
| Content |
>> * pass_fds: there is not API to mark a fd as inheritable (clear O_CLOEXEC flag)
> POSIX has a bug for this [5]. It's marked fixed, but the current POSIX docs doesn't reflect the changes. The idea is to make posix_spawn_file_actions_adddup2() clear O_CLOEXEC if the source and the destination are the same (unlike dup2(), which would do nothing). musl has already implemented the new behavior [6], but glibc hasn't.
Update: glibc has implemented it for 2.29 (https://sourceware.org/bugzilla/show_bug.cgi?id=23640). |
|