On 10/19/18 3:15 PM, Max Reitz wrote: > Python 3.4 introduced the inheritable attribute for FDs. At the same > time, it changed the default so that all FDs are not inheritable by > default, that only inheritable FDs are inherited to subprocesses, and > only if close_fds is explicitly set to False. > > Adhere to this by setting close_fds to False when working with > subprocesses that may want to inherit FDs, and by trying to > set_inheritable() on FDs that we do want to bequeath to them. > > Signed-off-by: Max Reitz <mre...@redhat.com> Reviewed-by: Cleber Rosa <cr...@redhat.com>
- [Qemu-devel] [PATCH v2 0/9] iotests: Make them work for bo... Max Reitz
- [Qemu-devel] [PATCH v2 7/9] iotests: 'new' module rep... Max Reitz
- [Qemu-devel] [PATCH v2 3/9] iotests: Use Python byte ... Max Reitz
- [Qemu-devel] [PATCH v2 2/9] iotests: Flush in iotests... Max Reitz
- [Qemu-devel] [PATCH v2 9/9] iotests: Unify log output... Max Reitz
- [Qemu-devel] [PATCH v2 1/9] iotests: Make nbd-fault-i... Max Reitz
- [Qemu-devel] [PATCH v2 6/9] iotests: Explicitly inher... Max Reitz
- Re: [Qemu-devel] [PATCH v2 6/9] iotests: Explicit... Eduardo Habkost
- Re: [Qemu-devel] [PATCH v2 6/9] iotests: Explicit... Cleber Rosa
- [Qemu-devel] [PATCH v2 8/9] iotests: Modify imports f... Max Reitz
- Re: [Qemu-devel] [PATCH v2 8/9] iotests: Modify i... Eduardo Habkost
- Re: [Qemu-devel] [PATCH v2 8/9] iotests: Modify i... Cleber Rosa
- [Qemu-devel] [PATCH v2 4/9] iotests: Use // for Pytho... Max Reitz
- Re: [Qemu-devel] [PATCH v2 4/9] iotests: Use // f... Eduardo Habkost
- Re: [Qemu-devel] [PATCH v2 4/9] iotests: Use // f... Cleber Rosa
- [Qemu-devel] [PATCH v2 5/9] iotests: Different iterat... Max Reitz
- Re: [Qemu-devel] [PATCH v2 5/9] iotests: Differen... Eduardo Habkost
- Re: [Qemu-devel] [PATCH v2 5/9] iotests: Differen... Cleber Rosa
- Re: [Qemu-devel] [PATCH v2 0/9] iotests: Make them wo... Cleber Rosa