-
Notifications
You must be signed in to change notification settings - Fork 1k
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 iopl/ioperm to all linuxes #3720
Conversation
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) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
@JohnTitor is this ok? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can work well
so, what is the process? I got an email saying @fslongjin approved this, what is next? Do we need another review? |
These are Linux syscalls so should be available everywhere, not just x86. It should probably mirror I don't think there is any good reason to add @rustbot author |
iopl is used by https://github.com/pop-os/system76-firmware I will try to add this to all platforms. |
Since you mentioned ioctl, I have rebased this on top of my other MR so that there is only one place to add these. |
I just tried, and it looks like it is not available on arm or ppc. OK to leave it as x86_64/i686 only? |
34a6d10
to
083499a
Compare
Note that I think this is available on more than x86_64, but that is all that I have to test. This also matches what was done for glibc systems.
so, in summary, iopl is needed, and it can't be declared next to iocl, because it is not available everywhere ioctl is. |
Fyi you can @rustbot review To get the labels updated that this is ready for reveiew. I'll take another look. |
Note that I think this is available on more than x86_64, but that is all that I have to test. This also matches what was done for glibc systems. (backport <rust-lang#3720>) (cherry picked from commit 083499a)
No description provided.