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 missing AT_ constants #1693

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Conversation

Freaky
Copy link
Contributor

@Freaky Freaky commented Mar 13, 2020

This adds AT_EACCESS to Linux, Fuchsia and Solaris, and also adds the other missing AT_ constants to Solaris as found in OpenSolaris and Illumos.

AT_EACCESS is needed for faccessat() to perform effective user/group checks.

@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.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@Freaky
Copy link
Contributor Author

Freaky commented Mar 14, 2020

Failure looks like cirruslabs/cirrus-ci-docs#592

@JohnTitor
Copy link
Member

Looks good! Could you squash commits into one?

Add AT_EACCESS to Linux, Solaris, and Fuchsia.

Add AT_SYMLINK_FOLLOW, AT_REMOVEDIR, and  _AT_TRIGGER to Solaris.
@Freaky Freaky force-pushed the linux-at-eaccess branch from 1f0b21b to 5d8dccc Compare March 14, 2020 17:13
@Freaky
Copy link
Contributor Author

Freaky commented Mar 14, 2020

Rebased and squished.

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Thanks!

@JohnTitor JohnTitor merged commit 886329b into rust-lang:master Mar 14, 2020
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.

3 participants