FIXED:
* Some IDState things on *NIX-likes that have no clue what they're doing
This commit is contained in:
brent saner
2026-01-30 06:37:44 -05:00
parent ed44eb6230
commit 002067d3ac
7 changed files with 89 additions and 7 deletions

View File

@@ -11,7 +11,16 @@ IDState collects information about the current running process.
It should only be used as returned from GetIDState().
Its methods WILL return false information if any of these values are altered.
FSUID/FSGID are not supported.
FSUID/FSGID are not currently supported.
Currently, macOS (and FreeBSD, and a couple others) will not populate:
* SUID
* SGID
due to Apple in their "infinite wisdom" allowing you to *set* these
but exposing no direct syscall whatsoever to *retrieve* them.
Enjoy your crippled OS, fanboys.
*/
type IDState struct {
// RUID: Real UID