-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add function getpeereid for AIX #4524
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
Conversation
Can also confirm this is the case without logging into AIX. The |
@tgross35 Shouldn't it be merged to libc-0.2, though? |
Everything goes through @rustbot label +stable-nominated |
Thank you so much! |
Yep, I figured I could add it myself. But wasn't sure if it was correct to do so. Thank you for the clarification! |
(backport <rust-lang#4524>) (cherry picked from commit 336e3f1)
Description
AIX provides
getpeereid
inlibc
even though it is not mandated by POSIX. Since thetokio
crate has a dependency on this function, this PR makes it available in the libc crate.Sources
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI