Message333994
>> * 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). |
|
Date |
User |
Action |
Args |
2019-01-18 16:59:46 | izbyshev | set | recipients:
+ izbyshev, gregory.p.smith, vstinner, serhiy.storchaka, koobs, pablogsal, nanjekyejoannah, kevans |
2019-01-18 16:59:44 | izbyshev | set | messageid: <1547830784.72.0.162050736224.issue35537@roundup.psfhosted.org> |
2019-01-18 16:59:44 | izbyshev | link | issue35537 messages |
2019-01-18 16:59:44 | izbyshev | create | |
|