New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH #27623
Conversation
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.
Oops, I fixed a typo: functon => function. |
Thanks @vstinner for the PR |
Thanks @vstinner for the PR |
Sorry @vstinner, I had trouble checking out the |
GH-27630 is a backport of this pull request to the 3.9 branch. |
Thanks @vstinner for the PR |
GH-27631 is a backport of this pull request to the 3.10 branch. |
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. (cherry picked from commit c24896c) Co-authored-by: Victor Stinner <vstinner@python.org>
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. (cherry picked from commit c24896c) Co-authored-by: Victor Stinner <vstinner@python.org>
…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.
Thanks @vstinner for the PR |
GH-28978 is a backport of this pull request to the 3.8 branch. |
Fix the os.set_inheritable() functon on FreeBSD 14 for file
descriptor opened with the O_PATH flag: ignore the EBADF error on
ioctl(), fallback on the fcntl() implementation.
https://bugs.python.org/issue44849