Skip to content

Several fixes for Linux/musl/s390x #4549

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 4 commits into
base: main
Choose a base branch
from

Conversation

neuschaefer
Copy link
Contributor

Description

This PR updates several APIs with respect to their definitions in musl-libc.

Sources

Links are included in the commit messages.

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

@neuschaefer
Copy link
Contributor Author

@tgross35 I probably missed some of the finer details of version tracking in the libc crate. I'm looking forward to your (and/or someone else's) review

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.

Sorry for the delay, been a bit behind on libc. Just a few small things

glibc provides these symbols, but musl does not.
musl-libc does not implement sysctl.
SYS_mseal is not yet defined in musl-libc, but it can only take one
possible value, dictated by the kernel's syscall ABI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants