mirror of https://github.com/golang/go.git
It seems like getgrouplist is supported since Solaris 11.3 (released in
2016):
https://docs.oracle.com/cd/E86824_01/html/E54766/getgrouplist-3c.html
Use it to implement (*User).GroupIds on solaris, like on other Unix
platforms.
Unfortunately it looks like getgrouplist was added to illumos only
fairly recently, see
|
||
|---|---|---|
| .. | ||
| cgo_lookup_unix.go | ||
| cgo_unix_test.go | ||
| getgrouplist_darwin.go | ||
| getgrouplist_unix.go | ||
| listgroups_aix.go | ||
| listgroups_illumos.go | ||
| listgroups_unix.go | ||
| lookup.go | ||
| lookup_android.go | ||
| lookup_plan9.go | ||
| lookup_stubs.go | ||
| lookup_unix.go | ||
| lookup_unix_test.go | ||
| lookup_windows.go | ||
| user.go | ||
| user_test.go | ||