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

feat: add ioctl flags in linux/if_tun.h #3960

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

wlynxg
Copy link
Contributor

@wlynxg wlynxg commented Oct 10, 2024

Description

Add ioctl flags from linux/if_tun.h

Sources

https://github.com/torvalds/linux/blob/d3d1556696c1a993eec54ac585fe5bf677e07474/include/uapi/linux/if_tun.h#L31

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@rustbot
Copy link
Collaborator

rustbot commented Oct 10, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @tgross35 (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 (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 6, 2024
Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

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

This LGTM. Could you please squash the "update codestyle" commits into their previous commits and rebase to get rid of the merge commit? Or just squash into one if that's easier.

@tgross35
Copy link
Contributor

tgross35 commented Nov 6, 2024

@rustbot author

Just comment @rustbot review when the above is done

@wlynxg
Copy link
Contributor Author

wlynxg commented Nov 7, 2024

@rustbot review

@tgross35
Copy link
Contributor

tgross35 commented Nov 7, 2024

Needs #4013 for CI to pass again

fix: values under different architectures

style: update code style

fix: remove `TUNSETCARRIER` and `TUNGETDEVNETNS`

feat: add `TUNSETCARRIER` and `TUNGETDEVNETNS` in `gnu`

style: update code style
@tgross35 tgross35 enabled auto-merge November 7, 2024 04:19
@tgross35 tgross35 added this pull request to the merge queue Nov 7, 2024
Merged via the queue into rust-lang:main with commit f9f72de Nov 7, 2024
42 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 7, 2024
fix: values under different architectures

style: update code style

fix: remove `TUNSETCARRIER` and `TUNGETDEVNETNS`

feat: add `TUNSETCARRIER` and `TUNGETDEVNETNS` in `gnu`

style: update code style

(backport <rust-lang#3960>)
(cherry picked from commit c24c516)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 7, 2024
fix: values under different architectures

style: update code style

fix: remove `TUNSETCARRIER` and `TUNGETDEVNETNS`

feat: add `TUNSETCARRIER` and `TUNGETDEVNETNS` in `gnu`

style: update code style

(backport <rust-lang#3960>)
(cherry picked from commit c24c516)
@tgross35 tgross35 mentioned this pull request Nov 7, 2024
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review stable-applied This PR has been cherry-picked to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants