Searched refs:set_inheritable (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Lib/ |
D | socket.py | 447 def set_inheritable(self, inheritable): member in socket 452 def set_inheritable(self, inheritable): member in socket 453 os.set_inheritable(self.fileno(), inheritable) 455 set_inheritable.__doc__ = "Set the inheritable flag of the socket"
|
D | _pyio.py | 1512 os.set_inheritable(fd, False)
|
/external/python/cpython3/Python/ |
D | fileutils.c | 995 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() function 1120 return set_inheritable(fd, 0, 0, NULL); in make_non_inheritable() 1142 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable() 1151 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe() 1193 if (set_inheritable(fd, 0, gil_held, atomic_flag_works) < 0) { in _Py_open_impl() 1362 if (set_inheritable(fileno(f), 0, 1, NULL) < 0) { in _Py_fopen_obj()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b4.rst | 27 Fix the set_inheritable() file descriptor method on platforms that do not
|
D | 3.5.2rc1.rst | 540 Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
|
D | 3.5.0a1.rst | 359 Fix the internal function set_inheritable() on Illumos. This platform 361 ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back
|
D | 3.6.0a1.rst | 853 Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
|
D | 3.7.0a1.rst | 1117 Fix the set_inheritable() file descriptor method on platforms that do not
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2356 os.set_inheritable(fd, True) 2482 os.set_inheritable(fds[0], True) 2483 os.set_inheritable(fds[1], True) 2512 os.set_inheritable(inheritable, True) 2513 os.set_inheritable(non_inheritable, False) 2916 os.set_inheritable(fd, True)
|
D | test_os.py | 1753 self.check(os.set_inheritable, True) 3195 os.set_inheritable(fd, True) 3218 os.set_inheritable(fd, True)
|
D | test_socket.py | 5296 sock.set_inheritable(True) 5299 sock.set_inheritable(False) 5324 sock.set_inheritable(True)
|
/external/python/cpython3/Doc/library/ |
D | select.rst | 89 Use :func:`os.set_inheritable` to make the file descriptor inheritable.
|
D | socket.rst | 1486 .. method:: socket.set_inheritable(inheritable)
|
D | os.rst | 1428 .. function:: set_inheritable(fd, inheritable)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 273 * :func:`os.get_inheritable`, :func:`os.set_inheritable` 275 * :meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable` 1175 :func:`os.set_inheritable`) or a Windows handle 1396 :meth:`~socket.socket.set_inheritable`.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 1392 - Issue #22258: Fix the internal function set_inheritable() on Illumos. 1394 with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() 4042 os.get/set_inheritable(), os.get/set_handle_inheritable() and 4043 socket.socket.get/set_inheritable().
|