Home
last modified time | relevance | path

Searched refs:set_inheritable (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/
Dsocket.py447 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.py1512 os.set_inheritable(fd, False)
/external/python/cpython3/Python/
Dfileutils.c995 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/
D3.6.0b4.rst27 Fix the set_inheritable() file descriptor method on platforms that do not
D3.5.2rc1.rst540 Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
D3.5.0a1.rst359 Fix the internal function set_inheritable() on Illumos. This platform
361 ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back
D3.6.0a1.rst853 Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
D3.7.0a1.rst1117 Fix the set_inheritable() file descriptor method on platforms that do not
/external/python/cpython3/Lib/test/
Dtest_subprocess.py2356 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)
Dtest_os.py1753 self.check(os.set_inheritable, True)
3195 os.set_inheritable(fd, True)
3218 os.set_inheritable(fd, True)
Dtest_socket.py5296 sock.set_inheritable(True)
5299 sock.set_inheritable(False)
5324 sock.set_inheritable(True)
/external/python/cpython3/Doc/library/
Dselect.rst89 Use :func:`os.set_inheritable` to make the file descriptor inheritable.
Dsocket.rst1486 .. method:: socket.set_inheritable(inheritable)
Dos.rst1428 .. function:: set_inheritable(fd, inheritable)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst273 * :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/
DHISTORY1392 - 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().