aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 02:22:57 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 02:22:57 +0000
commit9fa4b2aa45d3ceec8f13cc6b1415a84d13254018 (patch)
treee86559564cc8a2dd7405553b4fe28b9862159f3c /libgo
parent3a3dc1d3a04cd353920317e759d04b4fbb89a82f (diff)
downloadgcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.zip
gcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.tar.gz
gcc-9fa4b2aa45d3ceec8f13cc6b1415a84d13254018.tar.bz2
internal/syscall/unix: add constants for hurd
Patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/161517 From-SVN: r268602
Diffstat (limited to 'libgo')
-rw-r--r--libgo/go/internal/syscall/unix/at_sysnum_hurd.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/at_sysnum_hurd.go b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go
new file mode 100644
index 0000000..223eb42
--- /dev/null
+++ b/libgo/go/internal/syscall/unix/at_sysnum_hurd.go
@@ -0,0 +1,8 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package unix
+
+const AT_REMOVEDIR = 0x200
+const AT_SYMLINK_NOFOLLOW = 0x100