diff options
author | Jakob Unterwurzacher | 2025-02-26 21:32:53 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-02-26 21:33:06 +0100 |
commit | 07b1bd7ce810c83ed622885b65dbba3dab0f7fbb (patch) | |
tree | 8b80c731d386c8b886eeb9daecda20bf57602ac8 /internal/syscallcompat/thread_credentials_linux.go | |
parent | a540b0ea1bf5e9742773784600033bcb466e8a04 (diff) |
syscallcompat: add docs for Setreuid/Setregid/Setgroups
Diffstat (limited to 'internal/syscallcompat/thread_credentials_linux.go')
-rw-r--r-- | internal/syscallcompat/thread_credentials_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/syscallcompat/thread_credentials_linux.go b/internal/syscallcompat/thread_credentials_linux.go index 8cfb703..b5ec6cd 100644 --- a/internal/syscallcompat/thread_credentials_linux.go +++ b/internal/syscallcompat/thread_credentials_linux.go @@ -23,6 +23,7 @@ import ( "log" ) +// Setgroups is like setgroups(2) but affects only the current thread func Setgroups(gids []int) (err error) { if len(gids) == 0 { return setgroups(0, nil) |