aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-02-18 15:04:00 -0800
committerIan Lance Taylor <iant@golang.org>2022-02-18 15:33:32 -0800
commit3343e7e2c4cd2cd111cda86737f539cc6eda49ff (patch)
tree2ba797308a8520d31e076d6214e995b89d83718a /libgo/go/os
parent4984f882f41be1472df6ce7c439c98c4bc4e6f08 (diff)
downloadgcc-3343e7e2c4cd2cd111cda86737f539cc6eda49ff.zip
gcc-3343e7e2c4cd2cd111cda86737f539cc6eda49ff.tar.gz
gcc-3343e7e2c4cd2cd111cda86737f539cc6eda49ff.tar.bz2
libgo: update Hurd support
Patches from Svante Signell for PR go/104290. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/386797
Diffstat (limited to 'libgo/go/os')
-rw-r--r--libgo/go/os/exec/internal/fdtest/exists_unix.go2
-rw-r--r--libgo/go/os/user/cgo_listgroups_unix.go2
-rw-r--r--libgo/go/os/user/getgrouplist_unix.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/os/exec/internal/fdtest/exists_unix.go b/libgo/go/os/exec/internal/fdtest/exists_unix.go
index 49f264c..fca328f 100644
--- a/libgo/go/os/exec/internal/fdtest/exists_unix.go
+++ b/libgo/go/os/exec/internal/fdtest/exists_unix.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
+//go:build aix || darwin || dragonfly || freebsd || hurd || linux || netbsd || openbsd || solaris
// Package fdtest provides test helpers for working with file descriptors across exec.
package fdtest
diff --git a/libgo/go/os/user/cgo_listgroups_unix.go b/libgo/go/os/user/cgo_listgroups_unix.go
index 5621c1a..09ec1cc 100644
--- a/libgo/go/os/user/cgo_listgroups_unix.go
+++ b/libgo/go/os/user/cgo_listgroups_unix.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (dragonfly || darwin || freebsd || (!android && linux) || netbsd || openbsd || (solaris && !illumos)) && cgo && !osusergo
+//go:build (dragonfly || darwin || freebsd || hurd || (!android && linux) || netbsd || openbsd || (solaris && !illumos)) && cgo && !osusergo
package user
diff --git a/libgo/go/os/user/getgrouplist_unix.go b/libgo/go/os/user/getgrouplist_unix.go
index 527d941..e97e0bc 100644
--- a/libgo/go/os/user/getgrouplist_unix.go
+++ b/libgo/go/os/user/getgrouplist_unix.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (dragonfly || freebsd || (!android && linux) || netbsd || openbsd || (solaris && !illumos)) && cgo && !osusergo
+//go:build (dragonfly || freebsd || hurd || (!android && linux) || netbsd || openbsd || (solaris && !illumos)) && cgo && !osusergo
package user