Feat(apple): Add the necessary for the bsdshortinfo API of libproc#5110
Open
PaulDance wants to merge 1 commit into
Open
Feat(apple): Add the necessary for the bsdshortinfo API of libproc#5110PaulDance wants to merge 1 commit into
bsdshortinfo API of libproc#5110PaulDance wants to merge 1 commit into
Conversation
JohnTitor
reviewed
May 26, 2026
Member
|
Could you also squash commits into one? |
Defined respectively at: * https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/proc_info.h#L760 * https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/proc_info.h#L85 Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
783bf9e to
7a0c642
Compare
Collaborator
|
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. |
Contributor
Author
|
Done! |
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds the item necessary in order to get the "BSD short info" of processes by interacting with
proc_pidinfo. Namely:PROC_PIDT_SHORTBSDINFOandproc_bsdshortinfo.Sources
PROC_PIDT_SHORTBSDINFO;proc_bsdshortinfo;Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
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