NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
standards/58805: unistd.h: missing getresuid/getresgid/setresuid/setresgid
>Number: 58805
>Category: standards
>Synopsis: unistd.h: missing getresuid/getresgid/setresuid/setresgid
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: standards-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 01 23:30:01 +0000 2024
>Originator: Taylor R Campbell
>Release: current
>Organization:
The ResBSD Foundation
>Environment:
>Description:
`The getresuid() function shall store the real user ID, effective user ID, and saved set-user-ID of the calling process in the locations pointed to by the arguments ruid, euid, and suid, respectively.'
https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresuid.html
`The getresgid() function shall store the real group ID, effective group ID, and saved set-group-ID of the calling process in the locations pointed to by the arguments rgid, egid, and sgid, respectively.'
https://pubs.opengroup.org/onlinepubs/9799919799/functions/getresgid.html
`The setresuid() function shall set the real user ID, effective user ID, and saved set-user-ID of the calling process to the values specified by ruid, euid, and suid, respectively.'
https://pubs.opengroup.org/onlinepubs/9799919799/functions/setresuid.html
`The setresgid() function shall set the real group ID, effective group ID, and saved set-group-ID of the calling process to the values specified by rgid, egid, and sgid, respectively.'
https://pubs.opengroup.org/onlinepubs/9799919799/functions/setresgid.html
>How-To-Repeat:
standards coding
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index