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

Classify FIXMEs - 3 #4231

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

Classify FIXMEs - 3 #4231

wants to merge 2 commits into from

Conversation

lvllvl
Copy link
Contributor

@lvllvl lvllvl commented Jan 6, 2025

Description

Responding to #4117, added labels to all FIXMEs in repo. Breaking this up into multiple PRs for review.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
    • Not applicable
  • 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
    • Not applicable

@rustbot
Copy link
Collaborator

rustbot commented Jan 6, 2025

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

@rustbot
Copy link
Collaborator

rustbot commented Jan 6, 2025

Some changes occurred in solarish module

cc @jclulow, @pfmooney

Some changes occurred in OpenBSD module

cc @semarie

@lvllvl lvllvl force-pushed the 4117-part-3 branch 3 times, most recently from f5f94f1 to d545f78 Compare January 8, 2025 01:35
lvllvl added 2 commits January 9, 2025 01:15
# This is the 1st commit message:

chore: add labels to FIXMEs

# This is the commit message rust-lang#2:

chore: add labels to FIXMEs

# This is the commit message rust-lang#3:

Declare `setdomainname` and `getdomainname` on Android.

Android [supports] `setdomainname` and `getdomainname` in API level 26.

[supports] https://github.com/aosp-google/bionic/blob/28f9101d76b709febe25977f98530d77580387d1/libc/include/unistd.h#L236

# This is the commit message rust-lang#4:

Move `setdomainname` and `getdomainname` into linux_like.
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jan 10, 2025
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.

Most look good, just a couple suggested adjustments. However, it looks like you may have picked up some unrelated changes? Probably happened with a squash, the commit says:

This is a combination of 4 commits.

[...]

# This is the commit message #3:

Declare `setdomainname` and `getdomainname` on Android.

Android [supports] `setdomainname` and `getdomainname` in API level 26.

[supports] https://github.com/aosp-google/bionic/blob/28f9101d76b709febe25977f98530d77580387d1/libc/include/unistd.h#L236

# This is the commit message #4:

Move `setdomainname` and `getdomainname` into linux_like.

@@ -308,7 +308,7 @@ s_no_extra_traits! {
pub uc_mcontext: mcontext_t,
pub uc_sigmask: crate::sigset_t,
__private: [u8; 512],
// FIXME: the shadow stack field requires glibc >= 2.28.
// FIXME(linux): the shadow stack field requires glibc >= 2.28.
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably FIXME(glibc) here

@@ -286,7 +286,7 @@ pub const SYS_clock_settime: c_int = 112;
pub const SYS_clone: c_int = 220;
pub const SYS_close: c_int = 57;
pub const SYS_connect: c_int = 203;
pub const SYS_copy_file_range: c_int = -1; // FIXME
pub const SYS_copy_file_range: c_int = -1; // FIXME(musl)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know if there is something musl-specific here, probably FIXME(hexagon) in this file

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