diff options
author | Kai Backman <kaib@golang.org> | 2009-10-06 16:39:38 -0700 |
---|---|---|
committer | Kai Backman <kaib@golang.org> | 2009-10-06 16:39:38 -0700 |
commit | 946391183d470bf28ca97e2f5815dbf4eb12eec2 (patch) | |
tree | af3af6ca3f43a419c0f70db8a247cf68d3609e4c /src/pkg/syscall/syscall_linux_amd64.go | |
parent | 585223f2d54eef62afe0c6cab59d0c6c0f56c0f0 (diff) | |
download | golang-946391183d470bf28ca97e2f5815dbf4eb12eec2.tar.gz |
- moved 3 functions from syscall_linux to _386 and _amd64 (arm lacks them)
- 64 bit OMINUS
- added bunch of missing arm syscalls
R=rsc
APPROVED=rsc
DELTA=203 (189 added, 3 deleted, 11 changed)
OCL=35412
CL=35414
Diffstat (limited to 'src/pkg/syscall/syscall_linux_amd64.go')
-rw-r--r-- | src/pkg/syscall/syscall_linux_amd64.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/syscall/syscall_linux_amd64.go b/src/pkg/syscall/syscall_linux_amd64.go index cfb4285ef..5827d3600 100644 --- a/src/pkg/syscall/syscall_linux_amd64.go +++ b/src/pkg/syscall/syscall_linux_amd64.go @@ -12,6 +12,8 @@ package syscall //sys Geteuid() (euid int) //sys Getgid() (gid int) //sys Getuid() (uid int) +//sys Ioperm(from int, num int, on int) (errno int) +//sys Iopl(level int) (errno int) //sys Lchown(path string, uid int, gid int) (errno int) //sys Listen(s int, n int) (errno int) //sys Lstat(path string, stat *Stat_t) (errno int) @@ -27,6 +29,7 @@ package syscall //sys Shutdown(fd int, how int) (errno int) //sys Stat(path string, stat *Stat_t) (errno int) //sys Statfs(path string, buf *Statfs_t) (errno int) +//sys SyncFileRange(fd int, off int64, n int64, flags int) (errno int) //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, errno int) //sys bind(s int, addr uintptr, addrlen _Socklen) (errno int) //sys connect(s int, addr uintptr, addrlen _Socklen) (errno int) |