diff options
| author | Russ Cox <rsc@golang.org> | 2010-04-29 23:34:06 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-04-29 23:34:06 -0700 |
| commit | 52f66a0ccf87f10aaabbf573aea89c4a55d134a0 (patch) | |
| tree | e7780fda66e7ee6659a7963ac9bf189cbd5585bf /src/pkg/syscall/zerrors_linux_386.go | |
| parent | 884ccd25ed97fe0ef5ae8715f3d0b1d081f2f78b (diff) | |
| download | golang-52f66a0ccf87f10aaabbf573aea89c4a55d134a0.tar.gz | |
syscall: force O_LARGEFILE in Linux open system call
Fixes issue 717.
R=adg, PeterGo
CC=golang-dev
http://codereview.appspot.com/1032041
Diffstat (limited to 'src/pkg/syscall/zerrors_linux_386.go')
| -rw-r--r-- | src/pkg/syscall/zerrors_linux_386.go | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/src/pkg/syscall/zerrors_linux_386.go b/src/pkg/syscall/zerrors_linux_386.go index ce0edec0b..d7cb66cb2 100644 --- a/src/pkg/syscall/zerrors_linux_386.go +++ b/src/pkg/syscall/zerrors_linux_386.go @@ -1,7 +1,7 @@ -// mkerrors.sh +// mkerrors.sh -f -m32 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT -// godefs -gsyscall _const.c +// godefs -f -m32 -gsyscall -f -m32 _const.c // MACHINE GENERATED - DO NOT EDIT. @@ -49,6 +49,7 @@ const ( EAFNOSUPPORT = 0x61 EAGAIN = 0xb EALREADY = 0x72 + EAX = 0x6 EBADE = 0x34 EBADF = 0x9 EBADFD = 0x4d @@ -57,7 +58,9 @@ const ( EBADRQC = 0x38 EBADSLT = 0x39 EBFONT = 0x3b + EBP = 0x5 EBUSY = 0x10 + EBX = 0 ECANCELED = 0x7d ECHILD = 0xa ECHRNG = 0x2c @@ -65,15 +68,19 @@ const ( ECONNABORTED = 0x67 ECONNREFUSED = 0x6f ECONNRESET = 0x68 + ECX = 0x1 EDEADLK = 0x23 EDEADLOCK = 0x23 EDESTADDRREQ = 0x59 + EDI = 0x4 EDOM = 0x21 EDOTDOT = 0x49 EDQUOT = 0x7a + EDX = 0x2 EEXIST = 0x11 EFAULT = 0xe EFBIG = 0x1b + EFL = 0xe EHOSTDOWN = 0x70 EHOSTUNREACH = 0x71 EIDRM = 0x2b @@ -82,6 +89,7 @@ const ( EINTR = 0x4 EINVAL = 0x16 EIO = 0x5 + EIP = 0xc EISCONN = 0x6a EISDIR = 0x15 EISNAM = 0x78 @@ -172,7 +180,9 @@ const ( EREMOTEIO = 0x79 ERESTART = 0x55 EROFS = 0x1e + ES = 0x8 ESHUTDOWN = 0x6c + ESI = 0x3 ESOCKTNOSUPPORT = 0x5e ESPIPE = 0x1d ESRCH = 0x3 @@ -198,8 +208,8 @@ const ( F_GETFD = 0x1 F_GETFL = 0x3 F_GETLEASE = 0x401 - F_GETLK = 0x5 - F_GETLK64 = 0x5 + F_GETLK = 0xc + F_GETLK64 = 0xc F_GETOWN = 0x9 F_GETSIG = 0xb F_LOCK = 0x1 @@ -209,10 +219,10 @@ const ( F_SETFD = 0x2 F_SETFL = 0x4 F_SETLEASE = 0x400 - F_SETLK = 0x6 - F_SETLK64 = 0x6 - F_SETLKW = 0x7 - F_SETLKW64 = 0x7 + F_SETLK = 0xd + F_SETLK64 = 0xd + F_SETLKW = 0xe + F_SETLKW64 = 0xe F_SETOWN = 0x8 F_SETSIG = 0xa F_SHLCK = 0x8 @@ -344,7 +354,7 @@ const ( O_DSYNC = 0x1000 O_EXCL = 0x80 O_FSYNC = 0x1000 - O_LARGEFILE = 0 + O_LARGEFILE = 0x8000 O_NDELAY = 0x800 O_NOATIME = 0x40000 O_NOCTTY = 0x100 @@ -356,7 +366,6 @@ const ( O_SYNC = 0x1000 O_TRUNC = 0x200 O_WRONLY = 0x1 - PTRACE_ARCH_PRCTL = 0x1e PTRACE_ATTACH = 0x10 PTRACE_CONT = 0x7 PTRACE_DETACH = 0x11 @@ -396,6 +405,8 @@ const ( PTRACE_SET_THREAD_AREA = 0x1a PTRACE_SINGLESTEP = 0x9 PTRACE_SYSCALL = 0x18 + PTRACE_SYSEMU = 0x1f + PTRACE_SYSEMU_SINGLESTEP = 0x20 PTRACE_TRACEME = 0 SHUT_RD = 0 SHUT_RDWR = 0x2 @@ -540,7 +551,7 @@ const ( WNOHANG = 0x1 WNOTHREAD = 0x20000000 WNOWAIT = 0x1000000 - WORDSIZE = 0x40 + WORDSIZE = 0x20 WSTOPPED = 0x2 WUNTRACED = 0x2 ) |
