internal/syscall/unix: add constants for hurd
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 7 Feb 2019 02:22:57 +0000 (02:22 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 7 Feb 2019 02:22:57 +0000 (02:22 +0000)
    Patch by Svante Signell.

    Reviewed-on: https://go-review.googlesource.com/c/161517

From-SVN: r268602

gcc/go/gofrontend/MERGE
libgo/go/internal/syscall/unix/at_sysnum_hurd.go [new file with mode: 0644]

index 63499b3..8c57e16 100644 (file)
@@ -1,4 +1,4 @@
-d89db31db68d09aa13a6137122cc096c1d92597b
+77f0f28af556f50c561ff5c2cca17ad6f985068e
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
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 (file)
index 0000000..223eb42
--- /dev/null
@@ -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