]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)
authorVictor Stinner <vstinner@python.org>
Fri, 6 Aug 2021 13:15:10 +0000 (15:15 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Aug 2021 13:15:10 +0000 (15:15 +0200)
commitc24896c0e3b32c8a9f614ef51366007b67d5c665
tree912b10841274a62ab0b65e0e86e6a892edfcfd14
parent15d3c14df32a35ac69898a7852115722e30d7857
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)

Fix the os.set_inheritable() function on FreeBSD 14 for file
descriptor opened with the O_PATH flag: ignore the EBADF error on
ioctl(), fallback on the fcntl() implementation.
Misc/NEWS.d/next/Library/2021-08-06-13-00-28.bpo-44849.O78F_f.rst [new file with mode: 0644]
Python/fileutils.c