Author Michał Bednarski
Recipients Michał Bednarski
Date 2016-05-19.12:15:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463660156.43.0.991763402804.issue27057@psf.upfronthosting.co.za>
In-reply-to
Content
When SELinux forbids ioctl() it fails with EACCES and whole os.set_inheritable raises exception.

As in https://bugs.python.org/issue22258 code was added to fall back to fcntl when ioctl() fails with ENOTTY I'm adding EACCES value to same condition to fall back to fcntl().
History
Date User Action Args
2016-05-19 12:15:56Michał Bednarskisetrecipients: + Michał Bednarski
2016-05-19 12:15:56Michał Bednarskisetmessageid: <1463660156.43.0.991763402804.issue27057@psf.upfronthosting.co.za>
2016-05-19 12:15:56Michał Bednarskilinkissue27057 messages
2016-05-19 12:15:56Michał Bednarskicreate