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

add more errno constants to uclibc #2466

Merged
merged 1 commit into from
Oct 20, 2021
Merged

add more errno constants to uclibc #2466

merged 1 commit into from
Oct 20, 2021

Conversation

atopia
Copy link
Contributor

@atopia atopia commented Oct 18, 2021

Add more errno constants as requested by rustc since commit
1ec9454403e9bb0361d0725524c4bd27030474cc (for a discussion of the
change, see rust-lang/rust#79965).

The constant values and descriptions were taken from
include/uapi/asm-generic/errno.h in the Linux kernel, since "uClibc will
be compiled to match the interfaces available in the provided version of
the Linux kernel headers".

While the fork of uClibc in L4Re nominally has its own errno constants,
they appear to be based on the Linux header file and thus are the same.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.

Please see the contribution instructions for more information.

Add more errno constants as requested by rustc since commit
1ec9454403e9bb0361d0725524c4bd27030474cc (for a discussion of the
change, see rust-lang/rust#79965).

The constant values and descriptions were taken from
include/uapi/asm-generic/errno.h in the Linux kernel, since "uClibc will
be compiled to match the interfaces available in the provided version of
the Linux kernel headers".

While the fork of uClibc in L4Re nominally has its own errno constants,
they appear to be based on the Linux header file and thus are the same.
@JohnTitor
Copy link
Member

Thanks! @bors r+

@bors
Copy link
Contributor

bors commented Oct 20, 2021

📌 Commit 08315ab has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Oct 20, 2021

⌛ Testing commit 08315ab with merge 698d397...

@bors
Copy link
Contributor

bors commented Oct 20, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 698d397 to master...

@bors bors merged commit 698d397 into rust-lang:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants