Skip to content

netbsd: Export ioctl request generator macros #4460

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

qinghon
Copy link

@qinghon qinghon commented May 24, 2025

Description

add ioctl request generator macros for netbsd like

Sources

Checklist

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

    ci broken in netbsd

@rustbot label +stable-nominated

@rustbot
Copy link
Collaborator

rustbot commented May 24, 2025

Some changes occurred in OpenBSD module

cc @semarie

@rustbot rustbot added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label May 25, 2025
@rustbot
Copy link
Collaborator

rustbot commented May 25, 2025

Some changes occurred in OpenBSD module

cc @semarie

@semarie
Copy link
Contributor

semarie commented May 25, 2025

with IOC_INOUT fixed, the change is fine regarding OpenBSD.

@qinghon qinghon requested a review from semarie May 26, 2025 07:03
@qinghon qinghon requested a review from semarie May 26, 2025 14:47
Copy link
Contributor

@semarie semarie left a comment

Choose a reason for hiding this comment

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

LGTM.

@tgross35 I reviewed both OpenBSD and NetBSD code, and it looks fine.
But I only tested it on OpenBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-unix S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants