Skip to content

Feat(apple): Add the necessary for the bsdshortinfo API of libproc#5110

Open
PaulDance wants to merge 1 commit into
rust-lang:mainfrom
PaulDance:apple/proc_bsdshortinfo
Open

Feat(apple): Add the necessary for the bsdshortinfo API of libproc#5110
PaulDance wants to merge 1 commit into
rust-lang:mainfrom
PaulDance:apple/proc_bsdshortinfo

Conversation

@PaulDance
Copy link
Copy Markdown
Contributor

@PaulDance PaulDance commented May 19, 2026

Description

This adds the item necessary in order to get the "BSD short info" of processes by interacting with proc_pidinfo. Namely: PROC_PIDT_SHORTBSDINFO and proc_bsdshortinfo.

Sources

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.
    The concerned target is in tier 1 and I couldn't easily make my cross-compilation setup work for this.

@rustbot label +stable-nominated

@rustbot rustbot added S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels May 19, 2026
Comment thread src/unix/bsd/apple/mod.rs Outdated
@JohnTitor
Copy link
Copy Markdown
Member

Could you also squash commits into one?

@PaulDance PaulDance force-pushed the apple/proc_bsdshortinfo branch from 783bf9e to 7a0c642 Compare May 26, 2026 11:31
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 26, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@PaulDance
Copy link
Copy Markdown
Contributor Author

Done!

@JohnTitor
Copy link
Copy Markdown
Member

Thanks!
Seems we've hit an Actions outage, I'll get back tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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