Skip to content

[3.10] bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)#27631

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-c24896c-3.10
Aug 6, 2021
Merged

[3.10] bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)#27631
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-c24896c-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 6, 2021

Copy link
Copy Markdown
Contributor

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

https://bugs.python.org/issue44849

…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.
(cherry picked from commit c24896c)

Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 2ae2235 into python:3.10 Aug 6, 2021
@miss-islington miss-islington deleted the backport-c24896c-3.10 branch August 6, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants