-
Notifications
You must be signed in to change notification settings - Fork 994
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
Adding RTEXT_FILTER* constants from linux/rtnetlink.h #3035
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) soon. Please see the contribution instructions for more information. |
The |
Thanks! @bors r+ |
Adding RTEXT_FILTER* constants from linux/rtnetlink.h Hi *, this PR adds some constants needed for some specific netlink-route interactions (fetching information on a network interface). They are defined here: https://github.com/torvalds/linux/blob/master/include/uapi/linux/rtnetlink.h (lines 813 and onwards atm). The required tests passed for me locally. Please let me know if there is anything else you need! BR, Janosch.
💔 Test failed - checks-actions |
The CI seems to fail since MUSL is still using modified headers based on Linux 4.19.* (https://github.com/sabotage-linux/kernel-headers), which are also missing I only need @JohnTitor What is your preference? Remove the "newer" constants and only add what's available for all LTR kernels? Or is there possibly a way to conditionally include this only for specific Linux versions? |
Our musl image is too old because we haven't made a decision around the time64 breaking change. Line 3385 in 72fba0e
|
73afe3a
to
4b6f95e
Compare
@JohnTitor Sorry for taking so long. I added the exception as requested, here is hoping it goes through this time. |
Sorry for the delay! |
Adding RTEXT_FILTER* constants from linux/rtnetlink.h Adding some constants needed for some specific netlink-route interactions (fetching information on a network interface). They are defined at ```linux/rtnetlink.h```.
💔 Test failed - checks-actions |
|
4b6f95e
to
63ba3a0
Compare
@JohnTitor I left in both exceptions/ I wonder if I can also re-try? @bors try |
@jreppnow: 🔑 Insufficient privileges: not in try users |
LGTM, thank you. |
Adding RTEXT_FILTER* constants from linux/rtnetlink.h Adding some constants needed for some specific netlink-route interactions (fetching information on a network interface). They are defined at ```linux/rtnetlink.h```.
💔 Test failed - checks-cirrus-freebsd-14 |
@bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
Adding some constants needed for some specific netlink-route interactions (fetching information on a network interface). They are defined at
linux/rtnetlink.h
.