Skip to content
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

PIDFD_NONBLOCK missing from Linux musl toolchains #3002

Closed
JonathanWoollett-Light opened this issue Nov 17, 2022 · 0 comments · Fixed by #3003
Closed

PIDFD_NONBLOCK missing from Linux musl toolchains #3002

JonathanWoollett-Light opened this issue Nov 17, 2022 · 0 comments · Fixed by #3003
Labels
C-bug Category: bug

Comments

@JonathanWoollett-Light
Copy link

JonathanWoollett-Light commented Nov 17, 2022

PIDFD_NONBLOCK is an alias for O_NONBLOCK used with pidfd_open.

It is missing from all the musl toolchains.

These toolchains do however have SYS_pidfd_open which would suggest they should have this value.

@JonathanWoollett-Light JonathanWoollett-Light added the C-bug Category: bug label Nov 17, 2022
devnexen added a commit to devnexen/libc that referenced this issue Nov 17, 2022
devnexen added a commit to devnexen/libc that referenced this issue Nov 19, 2022
bors added a commit that referenced this issue Nov 20, 2022
linux musl adding `PIDFD_NONBLOCK` constant.

closes #3002
devnexen added a commit to devnexen/libc that referenced this issue Nov 20, 2022
bors added a commit that referenced this issue Nov 20, 2022
linux musl adding `PIDFD_NONBLOCK` constant.

closes #3002
bors added a commit that referenced this issue Nov 30, 2022
linux musl adding `PIDFD_NONBLOCK` constant.

closes #3002
@bors bors closed this as completed in 0993260 Nov 30, 2022
tatref pushed a commit to tatref/libc that referenced this issue Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant