Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dtrsock.py153 def set_inheritable(self, *args, **kwargs): member in TransportSocket
155 return self._sock.set_inheritable(*args, **kwargs)
/external/python/cpython3/Lib/
Dsocket.py528 def set_inheritable(self, inheritable): member in socket
533 def set_inheritable(self, inheritable): member in socket
534 os.set_inheritable(self.fileno(), inheritable)
536 set_inheritable.__doc__ = "Set the inheritable flag of the socket"
D_pyio.py1570 os.set_inheritable(fd, False)
/external/python/cpython3/Python/
Dfileutils.c1092 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() function
1224 return set_inheritable(fd, 0, 0, NULL); in make_non_inheritable()
1246 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable()
1255 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe()
1310 if (set_inheritable(fd, 0, gil_held, atomic_flag_works) < 0) { in _Py_open_impl()
1500 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.rst1116 Fix the set_inheritable() file descriptor method on platforms that do not
/external/python/cpython3/Lib/test/
Dtest_subprocess.py2661 os.set_inheritable(fd, True)
2787 os.set_inheritable(fds[0], True)
2788 os.set_inheritable(fds[1], True)
2817 os.set_inheritable(inheritable, True)
2818 os.set_inheritable(non_inheritable, False)
3289 os.set_inheritable(fd, True)
Dtest_os.py2048 self.check(os.set_inheritable, True)
3635 os.set_inheritable(fd, True)
3658 os.set_inheritable(fd, True)
Dtest_socket.py5736 sock.set_inheritable(True)
5739 sock.set_inheritable(False)
5764 sock.set_inheritable(True)
Dtest_posix.py1667 os.set_inheritable(wfd, True)
/external/python/cpython3/Doc/library/
Dselect.rst89 Use :func:`os.set_inheritable` to make the file descriptor inheritable.
Dsocket.rst1675 .. method:: socket.set_inheritable(inheritable)
Dos.rst1476 .. 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/Tools/c-analyzer/
Dknown.tsv383 Python/fileutils.c set_inheritable ioctl_works variable static int ioctl_works
/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().