diff options
| author | Kevin Burke <kev@inburke.com> | 2016-11-30 10:03:09 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-02-27 22:20:15 +0000 |
| commit | 949f95e7a40715ad05015dc4cb039e78a5260ef8 (patch) | |
| tree | 43c88bbe6755b1a8a94cff950309fcf17c8028ab /src/cmd/internal/obj/funcdata.go | |
| parent | 459d061c99b8bcd0ab688e2536f5429c9f125a4b (diff) | |
| download | go-949f95e7a40715ad05015dc4cb039e78a5260ef8.tar.xz | |
os/user: add Go implementation of LookupGroup, LookupGroupId
If cgo is not available, parse /etc/group in Go to find the name/gid
we need. This does not consult the Network Information System (NIS),
/etc/nsswitch.conf or any other libc extensions to /etc/group.
Fixes #18102.
Change-Id: I6ae4fe0e2c899396c45cdf243d5483113932657c
Reviewed-on: https://go-review.googlesource.com/33713
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/funcdata.go')
0 files changed, 0 insertions, 0 deletions
