Skip to content

add more errno constants to uclibc#2466

Merged
bors merged 1 commit into
rust-lang:masterfrom
atopia:master
Oct 20, 2021
Merged

add more errno constants to uclibc#2466
bors merged 1 commit into
rust-lang:masterfrom
atopia:master

Conversation

@atopia

@atopia atopia commented Oct 18, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Copy Markdown
Member

Thanks! @bors r+

@bors

bors commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

📌 Commit 08315ab has been approved by JohnTitor

@bors

bors commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

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

@bors

bors commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

☀️ 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