New submission from Michał Bednarski:

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().

----------
files: set_inheritable-eacces.diff
keywords: patch
messages: 265853
nosy: Michał Bednarski
priority: normal
severity: normal
status: open
title: os.set_inheritable(): fall back to fcntl() if ioctl() fails with EACCES
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42897/set_inheritable-eacces.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27057>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to