Home
last modified time | relevance | path

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

/third_party/python/Lib/asyncio/
Dtrsock.py153 def set_inheritable(self, *args, **kwargs): member in TransportSocket
155 return self._sock.set_inheritable(*args, **kwargs)
/third_party/python/Lib/
Dsocket.py529 def set_inheritable(self, inheritable): member in socket
534 def set_inheritable(self, inheritable): member in socket
535 os.set_inheritable(self.fileno(), inheritable)
537 set_inheritable.__doc__ = "Set the inheritable flag of the socket"
D_pyio.py1594 os.set_inheritable(fd, False)
/third_party/python/Python/
Dfileutils.c1305 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() function
1443 return set_inheritable(fd, 0, 0, NULL); in make_non_inheritable()
1465 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable()
1474 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe()
1529 if (set_inheritable(fd, 0, gil_held, atomic_flag_works) < 0) { in _Py_open_impl()
1701 if (set_inheritable(fileno(f), 0, 1, NULL) < 0) { in _Py_fopen_obj()
/third_party/python/Misc/NEWS.d/
D3.6.0b4.rst27 Fix the set_inheritable() file descriptor method on platforms that do not
D3.10.0a5.rst310 Fix os.set_inheritable() for O_PATH file descriptors on Linux.
D3.10.0rc2.rst340 Fix the :func:`os.set_inheritable` function on FreeBSD 14 for file
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
/third_party/python/Lib/test/
Dtest_subprocess.py2732 os.set_inheritable(fd, True)
2858 os.set_inheritable(fds[0], True)
2859 os.set_inheritable(fds[1], True)
2888 os.set_inheritable(inheritable, True)
2889 os.set_inheritable(non_inheritable, False)
3361 os.set_inheritable(fd, True)
Dtest_os.py2193 self.check(os.set_inheritable, True)
3863 os.set_inheritable(fd, True)
3886 os.set_inheritable(fd, True)
3896 os.set_inheritable(fd, True)
3899 os.set_inheritable(fd, False)
3910 os.set_inheritable(fd, True)
3914 os.set_inheritable(fd, False)
Dtest_socket.py5736 sock.set_inheritable(True)
5739 sock.set_inheritable(False)
5764 sock.set_inheritable(True)
Dtest_posix.py1706 os.set_inheritable(wfd, True)
/third_party/python/Doc/library/
Dselect.rst89 Use :func:`os.set_inheritable` to make the file descriptor inheritable.
Dsocket.rst1692 .. method:: socket.set_inheritable(inheritable)
Dos.rst1609 .. function:: set_inheritable(fd, inheritable)
/third_party/python/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`.
/third_party/python/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().