aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_hurd_386.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 03:11:47 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-02-07 03:11:47 +0000
commit4321f202f985f659e0150ee72ed3e14e554f9735 (patch)
treefee209b557ac0c36614bc7f9a12f2d4559517db4 /libgo/go/syscall/libcall_hurd_386.go
parent9fa4b2aa45d3ceec8f13cc6b1415a84d13254018 (diff)
downloadgcc-4321f202f985f659e0150ee72ed3e14e554f9735.zip
gcc-4321f202f985f659e0150ee72ed3e14e554f9735.tar.gz
gcc-4321f202f985f659e0150ee72ed3e14e554f9735.tar.bz2
syscall: add Hurd support
Loosely based on a patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/161518 From-SVN: r268603
Diffstat (limited to 'libgo/go/syscall/libcall_hurd_386.go')
-rw-r--r--libgo/go/syscall/libcall_hurd_386.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/syscall/libcall_hurd_386.go b/libgo/go/syscall/libcall_hurd_386.go
new file mode 100644
index 0000000..783429c
--- /dev/null
+++ b/libgo/go/syscall/libcall_hurd_386.go
@@ -0,0 +1,11 @@
+// Copyright 2012 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.
+
+// GNU/Hurd library calls 386 specific derived from libcall_linux_386.go.
+// Remove Iopl, iopl.
+
+package syscall
+
+//sys Ioperm(from int, num int, on int) (err error)
+//ioperm(from _C_long, num _C_long, on _C_int) _C_int