Skip to content

Conversation

@willnode
Copy link
Contributor

Description

This defines 4 functions in unistd.h for redox daemon system to work:

  • getresgid
  • getresuid
  • setresgid
  • setresuid

These functions have been tested in C ports that uses them, such as nginx.

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

@rustbot label +stable-nominated

@rustbot rustbot added O-redox O-unix S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Oct 20, 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.

LGTM, cc @jackpot51 to double check Redox

@tgross35 tgross35 enabled auto-merge October 22, 2025 05:24
@tgross35 tgross35 added this pull request to the merge queue Oct 22, 2025
Merged via the queue into rust-lang:main with commit a9ddb5b Oct 22, 2025
52 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 3, 2025
(backport <rust-lang#4752>) (cherry picked from commit e4f9596)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 3, 2025
(backport <rust-lang#4752>) (cherry picked from commit a9ddb5b)
@tgross35 tgross35 mentioned this pull request Nov 3, 2025
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 3, 2025
(backport <rust-lang#4752>) (cherry picked from commit e4f9596)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 3, 2025
(backport <rust-lang#4752>) (cherry picked from commit a9ddb5b)
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2025
(backport <#4752>) (cherry picked from commit e4f9596)
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2025
(backport <#4752>) (cherry picked from commit a9ddb5b)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-redox O-unix stable-applied This PR has been cherry-picked to libc's stable release branch

3 participants