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).
History
Date User Action Args
2019-01-18 16:59:46izbyshevsetrecipients: + izbyshev, gregory.p.smith, vstinner, serhiy.storchaka, koobs, pablogsal, nanjekyejoannah, kevans
2019-01-18 16:59:44izbyshevsetmessageid: <1547830784.72.0.162050736224.issue35537@roundup.psfhosted.org>
2019-01-18 16:59:44izbyshevlinkissue35537 messages
2019-01-18 16:59:44izbyshevcreate