diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
commit | 10f55215a4d4ac643bf04202704b4fec01417bba (patch) | |
tree | e6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/syscall | |
parent | edc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff) | |
download | golang-10f55215a4d4ac643bf04202704b4fec01417bba.tar.gz |
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
Diffstat (limited to 'src/pkg/syscall')
-rw-r--r-- | src/pkg/syscall/zerrors_darwin_386.go | 198 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_darwin_amd64.go | 198 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_freebsd_386.go | 18 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_freebsd_amd64.go | 18 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_linux_386.go | 194 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_linux_amd64.go | 194 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_linux_arm.go | 194 | ||||
-rw-r--r-- | src/pkg/syscall/zerrors_nacl_386.go | 218 |
8 files changed, 616 insertions, 616 deletions
diff --git a/src/pkg/syscall/zerrors_darwin_386.go b/src/pkg/syscall/zerrors_darwin_386.go index 76660a844..f7cc9cd2d 100644 --- a/src/pkg/syscall/zerrors_darwin_386.go +++ b/src/pkg/syscall/zerrors_darwin_386.go @@ -535,107 +535,107 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", - 13: "permission denied", - 48: "address already in use", - 49: "can't assign requested address", - 47: "address family not supported by protocol family", - 35: "resource temporarily unavailable", - 37: "operation already in progress", - 80: "authentication error", - 86: "bad CPU type in executable", - 85: "bad executable (or shared library)", - 9: "bad file descriptor", - 88: "malformed Mach-o file", - 94: "bad message", - 72: "RPC struct is bad", - 16: "resource busy", - 89: "operation canceled", - 10: "no child processes", - 53: "software caused connection abort", - 61: "connection refused", - 54: "connection reset by peer", - 11: "resource deadlock avoided", - 39: "destination address required", - 83: "device error", - 33: "numerical argument out of domain", - 69: "disc quota exceeded", - 17: "file exists", - 14: "bad address", - 27: "file too large", - 79: "inappropriate file type or format", - 64: "host is down", - 65: "no route to host", - 90: "identifier removed", - 92: "illegal byte sequence", - 36: "operation now in progress", - 4: "interrupted system call", - 22: "invalid argument", - 5: "input/output error", - 56: "socket is already connected", - 21: "is a directory", + 7: "argument list too long", + 13: "permission denied", + 48: "address already in use", + 49: "can't assign requested address", + 47: "address family not supported by protocol family", + 35: "resource temporarily unavailable", + 37: "operation already in progress", + 80: "authentication error", + 86: "bad CPU type in executable", + 85: "bad executable (or shared library)", + 9: "bad file descriptor", + 88: "malformed Mach-o file", + 94: "bad message", + 72: "RPC struct is bad", + 16: "resource busy", + 89: "operation canceled", + 10: "no child processes", + 53: "software caused connection abort", + 61: "connection refused", + 54: "connection reset by peer", + 11: "resource deadlock avoided", + 39: "destination address required", + 83: "device error", + 33: "numerical argument out of domain", + 69: "disc quota exceeded", + 17: "file exists", + 14: "bad address", + 27: "file too large", + 79: "inappropriate file type or format", + 64: "host is down", + 65: "no route to host", + 90: "identifier removed", + 92: "illegal byte sequence", + 36: "operation now in progress", + 4: "interrupted system call", + 22: "invalid argument", + 5: "input/output error", + 56: "socket is already connected", + 21: "is a directory", 103: "policy not found", - 62: "too many levels of symbolic links", - 24: "too many open files", - 31: "too many links", - 40: "message too long", - 95: "EMULTIHOP (Reserved)", - 63: "file name too long", - 81: "need authenticator", - 50: "network is down", - 52: "network dropped connection on reset", - 51: "network is unreachable", - 23: "too many open files in system", - 93: "attribute not found", - 55: "no buffer space available", - 96: "no message available on STREAM", - 19: "operation not supported by device", - 2: "no such file or directory", - 8: "exec format error", - 77: "no locks available", - 97: "ENOLINK (Reserved)", - 12: "cannot allocate memory", - 91: "no message of desired type", - 42: "protocol not available", - 28: "no space left on device", - 98: "no STREAM resources", - 99: "not a STREAM", - 78: "function not implemented", - 15: "block device required", - 57: "socket is not connected", - 20: "not a directory", - 66: "directory not empty", - 38: "socket operation on non-socket", - 45: "operation not supported", - 25: "inappropriate ioctl for device", - 6: "device not configured", + 62: "too many levels of symbolic links", + 24: "too many open files", + 31: "too many links", + 40: "message too long", + 95: "EMULTIHOP (Reserved)", + 63: "file name too long", + 81: "need authenticator", + 50: "network is down", + 52: "network dropped connection on reset", + 51: "network is unreachable", + 23: "too many open files in system", + 93: "attribute not found", + 55: "no buffer space available", + 96: "no message available on STREAM", + 19: "operation not supported by device", + 2: "no such file or directory", + 8: "exec format error", + 77: "no locks available", + 97: "ENOLINK (Reserved)", + 12: "cannot allocate memory", + 91: "no message of desired type", + 42: "protocol not available", + 28: "no space left on device", + 98: "no STREAM resources", + 99: "not a STREAM", + 78: "function not implemented", + 15: "block device required", + 57: "socket is not connected", + 20: "not a directory", + 66: "directory not empty", + 38: "socket operation on non-socket", + 45: "operation not supported", + 25: "inappropriate ioctl for device", + 6: "device not configured", 102: "operation not supported on socket", - 84: "value too large to be stored in data type", - 1: "operation not permitted", - 46: "protocol family not supported", - 32: "broken pipe", - 67: "too many processes", - 76: "bad procedure for program", - 75: "program version wrong", - 74: "RPC prog. not avail", + 84: "value too large to be stored in data type", + 1: "operation not permitted", + 46: "protocol family not supported", + 32: "broken pipe", + 67: "too many processes", + 76: "bad procedure for program", + 75: "program version wrong", + 74: "RPC prog. not avail", 100: "protocol error", - 43: "protocol not supported", - 41: "protocol wrong type for socket", - 82: "device power is off", - 34: "result too large", - 71: "too many levels of remote in path", - 30: "read-only file system", - 73: "RPC version wrong", - 87: "shared library version mismatch", - 58: "can't send after socket shutdown", - 44: "socket type not supported", - 29: "illegal seek", - 3: "no such process", - 70: "stale NFS file handle", + 43: "protocol not supported", + 41: "protocol wrong type for socket", + 82: "device power is off", + 34: "result too large", + 71: "too many levels of remote in path", + 30: "read-only file system", + 73: "RPC version wrong", + 87: "shared library version mismatch", + 58: "can't send after socket shutdown", + 44: "socket type not supported", + 29: "illegal seek", + 3: "no such process", + 70: "stale NFS file handle", 101: "STREAM ioctl timeout", - 60: "operation timed out", - 59: "too many references: can't splice", - 26: "text file busy", - 68: "too many users", - 18: "cross-device link", + 60: "operation timed out", + 59: "too many references: can't splice", + 26: "text file busy", + 68: "too many users", + 18: "cross-device link", } diff --git a/src/pkg/syscall/zerrors_darwin_amd64.go b/src/pkg/syscall/zerrors_darwin_amd64.go index 76660a844..f7cc9cd2d 100644 --- a/src/pkg/syscall/zerrors_darwin_amd64.go +++ b/src/pkg/syscall/zerrors_darwin_amd64.go @@ -535,107 +535,107 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", - 13: "permission denied", - 48: "address already in use", - 49: "can't assign requested address", - 47: "address family not supported by protocol family", - 35: "resource temporarily unavailable", - 37: "operation already in progress", - 80: "authentication error", - 86: "bad CPU type in executable", - 85: "bad executable (or shared library)", - 9: "bad file descriptor", - 88: "malformed Mach-o file", - 94: "bad message", - 72: "RPC struct is bad", - 16: "resource busy", - 89: "operation canceled", - 10: "no child processes", - 53: "software caused connection abort", - 61: "connection refused", - 54: "connection reset by peer", - 11: "resource deadlock avoided", - 39: "destination address required", - 83: "device error", - 33: "numerical argument out of domain", - 69: "disc quota exceeded", - 17: "file exists", - 14: "bad address", - 27: "file too large", - 79: "inappropriate file type or format", - 64: "host is down", - 65: "no route to host", - 90: "identifier removed", - 92: "illegal byte sequence", - 36: "operation now in progress", - 4: "interrupted system call", - 22: "invalid argument", - 5: "input/output error", - 56: "socket is already connected", - 21: "is a directory", + 7: "argument list too long", + 13: "permission denied", + 48: "address already in use", + 49: "can't assign requested address", + 47: "address family not supported by protocol family", + 35: "resource temporarily unavailable", + 37: "operation already in progress", + 80: "authentication error", + 86: "bad CPU type in executable", + 85: "bad executable (or shared library)", + 9: "bad file descriptor", + 88: "malformed Mach-o file", + 94: "bad message", + 72: "RPC struct is bad", + 16: "resource busy", + 89: "operation canceled", + 10: "no child processes", + 53: "software caused connection abort", + 61: "connection refused", + 54: "connection reset by peer", + 11: "resource deadlock avoided", + 39: "destination address required", + 83: "device error", + 33: "numerical argument out of domain", + 69: "disc quota exceeded", + 17: "file exists", + 14: "bad address", + 27: "file too large", + 79: "inappropriate file type or format", + 64: "host is down", + 65: "no route to host", + 90: "identifier removed", + 92: "illegal byte sequence", + 36: "operation now in progress", + 4: "interrupted system call", + 22: "invalid argument", + 5: "input/output error", + 56: "socket is already connected", + 21: "is a directory", 103: "policy not found", - 62: "too many levels of symbolic links", - 24: "too many open files", - 31: "too many links", - 40: "message too long", - 95: "EMULTIHOP (Reserved)", - 63: "file name too long", - 81: "need authenticator", - 50: "network is down", - 52: "network dropped connection on reset", - 51: "network is unreachable", - 23: "too many open files in system", - 93: "attribute not found", - 55: "no buffer space available", - 96: "no message available on STREAM", - 19: "operation not supported by device", - 2: "no such file or directory", - 8: "exec format error", - 77: "no locks available", - 97: "ENOLINK (Reserved)", - 12: "cannot allocate memory", - 91: "no message of desired type", - 42: "protocol not available", - 28: "no space left on device", - 98: "no STREAM resources", - 99: "not a STREAM", - 78: "function not implemented", - 15: "block device required", - 57: "socket is not connected", - 20: "not a directory", - 66: "directory not empty", - 38: "socket operation on non-socket", - 45: "operation not supported", - 25: "inappropriate ioctl for device", - 6: "device not configured", + 62: "too many levels of symbolic links", + 24: "too many open files", + 31: "too many links", + 40: "message too long", + 95: "EMULTIHOP (Reserved)", + 63: "file name too long", + 81: "need authenticator", + 50: "network is down", + 52: "network dropped connection on reset", + 51: "network is unreachable", + 23: "too many open files in system", + 93: "attribute not found", + 55: "no buffer space available", + 96: "no message available on STREAM", + 19: "operation not supported by device", + 2: "no such file or directory", + 8: "exec format error", + 77: "no locks available", + 97: "ENOLINK (Reserved)", + 12: "cannot allocate memory", + 91: "no message of desired type", + 42: "protocol not available", + 28: "no space left on device", + 98: "no STREAM resources", + 99: "not a STREAM", + 78: "function not implemented", + 15: "block device required", + 57: "socket is not connected", + 20: "not a directory", + 66: "directory not empty", + 38: "socket operation on non-socket", + 45: "operation not supported", + 25: "inappropriate ioctl for device", + 6: "device not configured", 102: "operation not supported on socket", - 84: "value too large to be stored in data type", - 1: "operation not permitted", - 46: "protocol family not supported", - 32: "broken pipe", - 67: "too many processes", - 76: "bad procedure for program", - 75: "program version wrong", - 74: "RPC prog. not avail", + 84: "value too large to be stored in data type", + 1: "operation not permitted", + 46: "protocol family not supported", + 32: "broken pipe", + 67: "too many processes", + 76: "bad procedure for program", + 75: "program version wrong", + 74: "RPC prog. not avail", 100: "protocol error", - 43: "protocol not supported", - 41: "protocol wrong type for socket", - 82: "device power is off", - 34: "result too large", - 71: "too many levels of remote in path", - 30: "read-only file system", - 73: "RPC version wrong", - 87: "shared library version mismatch", - 58: "can't send after socket shutdown", - 44: "socket type not supported", - 29: "illegal seek", - 3: "no such process", - 70: "stale NFS file handle", + 43: "protocol not supported", + 41: "protocol wrong type for socket", + 82: "device power is off", + 34: "result too large", + 71: "too many levels of remote in path", + 30: "read-only file system", + 73: "RPC version wrong", + 87: "shared library version mismatch", + 58: "can't send after socket shutdown", + 44: "socket type not supported", + 29: "illegal seek", + 3: "no such process", + 70: "stale NFS file handle", 101: "STREAM ioctl timeout", - 60: "operation timed out", - 59: "too many references: can't splice", - 26: "text file busy", - 68: "too many users", - 18: "cross-device link", + 60: "operation timed out", + 59: "too many references: can't splice", + 26: "text file busy", + 68: "too many users", + 18: "cross-device link", } diff --git a/src/pkg/syscall/zerrors_freebsd_386.go b/src/pkg/syscall/zerrors_freebsd_386.go index 4c1b828e5..a519f3479 100644 --- a/src/pkg/syscall/zerrors_freebsd_386.go +++ b/src/pkg/syscall/zerrors_freebsd_386.go @@ -536,7 +536,7 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", + 7: "argument list too long", 13: "permission denied", 48: "address already in use", 49: "can't assign requested address", @@ -544,7 +544,7 @@ var errors = [...]string{ 35: "resource temporarily unavailable", 37: "operation already in progress", 80: "authentication error", - 9: "bad file descriptor", + 9: "bad file descriptor", 89: "bad message", 72: "RPC struct is bad", 16: "device busy", @@ -567,9 +567,9 @@ var errors = [...]string{ 82: "identifier removed", 86: "illegal byte sequence", 36: "operation now in progress", - 4: "interrupted system call", + 4: "interrupted system call", 22: "invalid argument", - 5: "input/output error", + 5: "input/output error", 56: "socket is already connected", 21: "is a directory", 92: "protocol error", @@ -587,8 +587,8 @@ var errors = [...]string{ 87: "attribute not found", 55: "no buffer space available", 19: "operation not supported by device", - 2: "no such file or directory", - 8: "exec format error", + 2: "no such file or directory", + 8: "exec format error", 77: "no locks available", 91: "link has been severed", 12: "cannot allocate memory", @@ -603,9 +603,9 @@ var errors = [...]string{ 38: "socket operation on non-socket", 45: "operation not supported", 25: "inappropriate ioctl for device", - 6: "device not configured", + 6: "device not configured", 84: "value too large to be stored in data type", - 1: "operation not permitted", + 1: "operation not permitted", 46: "protocol family not supported", 32: "broken pipe", 67: "too many processes", @@ -621,7 +621,7 @@ var errors = [...]string{ 58: "can't send after socket shutdown", 44: "socket type not supported", 29: "illegal seek", - 3: "no such process", + 3: "no such process", 70: "stale NFS file handle", 60: "operation timed out", 59: "too many references: can't splice", diff --git a/src/pkg/syscall/zerrors_freebsd_amd64.go b/src/pkg/syscall/zerrors_freebsd_amd64.go index 4c1b828e5..a519f3479 100644 --- a/src/pkg/syscall/zerrors_freebsd_amd64.go +++ b/src/pkg/syscall/zerrors_freebsd_amd64.go @@ -536,7 +536,7 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", + 7: "argument list too long", 13: "permission denied", 48: "address already in use", 49: "can't assign requested address", @@ -544,7 +544,7 @@ var errors = [...]string{ 35: "resource temporarily unavailable", 37: "operation already in progress", 80: "authentication error", - 9: "bad file descriptor", + 9: "bad file descriptor", 89: "bad message", 72: "RPC struct is bad", 16: "device busy", @@ -567,9 +567,9 @@ var errors = [...]string{ 82: "identifier removed", 86: "illegal byte sequence", 36: "operation now in progress", - 4: "interrupted system call", + 4: "interrupted system call", 22: "invalid argument", - 5: "input/output error", + 5: "input/output error", 56: "socket is already connected", 21: "is a directory", 92: "protocol error", @@ -587,8 +587,8 @@ var errors = [...]string{ 87: "attribute not found", 55: "no buffer space available", 19: "operation not supported by device", - 2: "no such file or directory", - 8: "exec format error", + 2: "no such file or directory", + 8: "exec format error", 77: "no locks available", 91: "link has been severed", 12: "cannot allocate memory", @@ -603,9 +603,9 @@ var errors = [...]string{ 38: "socket operation on non-socket", 45: "operation not supported", 25: "inappropriate ioctl for device", - 6: "device not configured", + 6: "device not configured", 84: "value too large to be stored in data type", - 1: "operation not permitted", + 1: "operation not permitted", 46: "protocol family not supported", 32: "broken pipe", 67: "too many processes", @@ -621,7 +621,7 @@ var errors = [...]string{ 58: "can't send after socket shutdown", 44: "socket type not supported", 29: "illegal seek", - 3: "no such process", + 3: "no such process", 70: "stale NFS file handle", 60: "operation timed out", 59: "too many references: can't splice", diff --git a/src/pkg/syscall/zerrors_linux_386.go b/src/pkg/syscall/zerrors_linux_386.go index ba744a70c..09ab33b30 100644 --- a/src/pkg/syscall/zerrors_linux_386.go +++ b/src/pkg/syscall/zerrors_linux_386.go @@ -526,134 +526,134 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", - 13: "permission denied", - 98: "address already in use", - 99: "cannot assign requested address", - 68: "advertise error", - 97: "address family not supported by protocol", - 11: "resource temporarily unavailable", + 7: "argument list too long", + 13: "permission denied", + 98: "address already in use", + 99: "cannot assign requested address", + 68: "advertise error", + 97: "address family not supported by protocol", + 11: "resource temporarily unavailable", 114: "operation already in progress", - 52: "invalid exchange", - 9: "bad file descriptor", - 77: "file descriptor in bad state", - 74: "bad message", - 53: "invalid request descriptor", - 56: "invalid request code", - 57: "invalid slot", - 59: "bad font file format", - 16: "device or resource busy", + 52: "invalid exchange", + 9: "bad file descriptor", + 77: "file descriptor in bad state", + 74: "bad message", + 53: "invalid request descriptor", + 56: "invalid request code", + 57: "invalid slot", + 59: "bad font file format", + 16: "device or resource busy", 125: "operation canceled", - 10: "no child processes", - 44: "channel number out of range", - 70: "communication error on send", + 10: "no child processes", + 44: "channel number out of range", + 70: "communication error on send", 103: "software caused connection abort", 111: "connection refused", 104: "connection reset by peer", - 35: "resource deadlock avoided", - 89: "destination address required", - 33: "numerical argument out of domain", - 73: "RFS specific error", + 35: "resource deadlock avoided", + 89: "destination address required", + 33: "numerical argument out of domain", + 73: "RFS specific error", 122: "disk quota exceeded", - 17: "file exists", - 14: "bad address", - 27: "file too large", + 17: "file exists", + 14: "bad address", + 27: "file too large", 112: "host is down", 113: "no route to host", - 43: "identifier removed", - 84: "invalid or incomplete multibyte or wide character", + 43: "identifier removed", + 84: "invalid or incomplete multibyte or wide character", 115: "operation now in progress", - 4: "interrupted system call", - 22: "invalid argument", - 5: "input/output error", + 4: "interrupted system call", + 22: "invalid argument", + 5: "input/output error", 106: "transport endpoint is already connected", - 21: "is a directory", + 21: "is a directory", 120: "is a named type file", 127: "key has expired", 129: "key was rejected by service", 128: "key has been revoked", - 51: "level 2 halted", - 45: "level 2 not synchronized", - 46: "level 3 halted", - 47: "level 3 reset", - 79: "can not access a needed shared library", - 80: "accessing a corrupted shared library", - 83: "cannot exec a shared library directly", - 82: "attempting to link in too many shared libraries", - 81: ".lib section in a.out corrupted", - 48: "link number out of range", - 40: "too many levels of symbolic links", + 51: "level 2 halted", + 45: "level 2 not synchronized", + 46: "level 3 halted", + 47: "level 3 reset", + 79: "can not access a needed shared library", + 80: "accessing a corrupted shared library", + 83: "cannot exec a shared library directly", + 82: "attempting to link in too many shared libraries", + 81: ".lib section in a.out corrupted", + 48: "link number out of range", + 40: "too many levels of symbolic links", 124: "wrong medium type", - 24: "too many open files", - 31: "too many links", - 90: "message too long", - 72: "multihop attempted", - 36: "file name too long", + 24: "too many open files", + 31: "too many links", + 90: "message too long", + 72: "multihop attempted", + 36: "file name too long", 119: "no XENIX semaphores available", 100: "network is down", 102: "network dropped connection on reset", 101: "network is unreachable", - 23: "too many open files in system", - 55: "no anode", + 23: "too many open files in system", + 55: "no anode", 105: "no buffer space available", - 50: "no CSI structure available", - 61: "no data available", - 19: "no such device", - 2: "no such file or directory", - 8: "exec format error", + 50: "no CSI structure available", + 61: "no data available", + 19: "no such device", + 2: "no such file or directory", + 8: "exec format error", 126: "required key not available", - 37: "no locks available", - 67: "link has been severed", + 37: "no locks available", + 67: "link has been severed", 123: "no medium found", - 12: "cannot allocate memory", - 42: "no message of desired type", - 64: "machine is not on the network", - 65: "package not installed", - 92: "protocol not available", - 28: "no space left on device", - 63: "out of streams resources", - 60: "device not a stream", - 38: "function not implemented", - 15: "block device required", + 12: "cannot allocate memory", + 42: "no message of desired type", + 64: "machine is not on the network", + 65: "package not installed", + 92: "protocol not available", + 28: "no space left on device", + 63: "out of streams resources", + 60: "device not a stream", + 38: "function not implemented", + 15: "block device required", 107: "transport endpoint is not connected", - 20: "not a directory", - 39: "directory not empty", + 20: "not a directory", + 39: "directory not empty", 118: "not a XENIX named type file", 131: "state not recoverable", - 88: "socket operation on non-socket", - 95: "operation not supported", - 25: "inappropriate ioctl for device", - 76: "name not unique on network", - 6: "no such device or address", - 75: "value too large for defined data type", + 88: "socket operation on non-socket", + 95: "operation not supported", + 25: "inappropriate ioctl for device", + 76: "name not unique on network", + 6: "no such device or address", + 75: "value too large for defined data type", 130: "owner died", - 1: "operation not permitted", - 96: "protocol family not supported", - 32: "broken pipe", - 71: "protocol error", - 93: "protocol not supported", - 91: "protocol wrong type for socket", - 34: "numerical result out of range", - 78: "remote address changed", - 66: "object is remote", + 1: "operation not permitted", + 96: "protocol family not supported", + 32: "broken pipe", + 71: "protocol error", + 93: "protocol not supported", + 91: "protocol wrong type for socket", + 34: "numerical result out of range", + 78: "remote address changed", + 66: "object is remote", 121: "remote I/O error", - 85: "interrupted system call should be restarted", + 85: "interrupted system call should be restarted", 132: "unknown error 132", - 30: "read-only file system", + 30: "read-only file system", 108: "cannot send after transport endpoint shutdown", - 94: "socket type not supported", - 29: "illegal seek", - 3: "no such process", - 69: "srmount error", + 94: "socket type not supported", + 29: "illegal seek", + 3: "no such process", + 69: "srmount error", 116: "stale NFS file handle", - 86: "streams pipe error", - 62: "timer expired", + 86: "streams pipe error", + 62: "timer expired", 110: "connection timed out", 109: "too many references: cannot splice", - 26: "text file busy", + 26: "text file busy", 117: "structure needs cleaning", - 49: "protocol driver not attached", - 87: "too many users", - 18: "invalid cross-device link", - 54: "exchange full", + 49: "protocol driver not attached", + 87: "too many users", + 18: "invalid cross-device link", + 54: "exchange full", } diff --git a/src/pkg/syscall/zerrors_linux_amd64.go b/src/pkg/syscall/zerrors_linux_amd64.go index ba744a70c..09ab33b30 100644 --- a/src/pkg/syscall/zerrors_linux_amd64.go +++ b/src/pkg/syscall/zerrors_linux_amd64.go @@ -526,134 +526,134 @@ const ( // Error table var errors = [...]string{ - 7: "argument list too long", - 13: "permission denied", - 98: "address already in use", - 99: "cannot assign requested address", - 68: "advertise error", - 97: "address family not supported by protocol", - 11: "resource temporarily unavailable", + 7: "argument list too long", + 13: "permission denied", + 98: "address already in use", + 99: "cannot assign requested address", + 68: "advertise error", + 97: "address family not supported by protocol", + 11: "resource temporarily unavailable", 114: "operation already in progress", - 52: "invalid exchange", - 9: "bad file descriptor", - 77: "file descriptor in bad state", - 74: "bad message", - 53: "invalid request descriptor", - 56: "invalid request code", - 57: "invalid slot", - 59: "bad font file format", - 16: "device or resource busy", + 52: "invalid exchange", + 9: "bad file descriptor", + 77: "file descriptor in bad state", + 74: "bad message", + 53: "invalid request descriptor", + 56: "invalid request code", + 57: "invalid slot", + 59: "bad font file format", + 16: "device or resource busy", 125: "operation canceled", - 10: "no child processes", - 44: "channel number out of range", - 70: "communication error on send", + 10: "no child processes", + 44: "channel number out of range", + 70: "communication error on send", 103: "software caused connection abort", 111: "connection refused", 104: "connection reset by peer", - 35: "resource deadlock avoided", - 89: "destination address required", - 33: "numerical argument out of domain", - 73: "RFS specific error", + 35: "resource deadlock avoided", + 89: "destination address required", + 33: "numerical argument out of domain", + 73: "RFS specific error", 122: "disk quota exceeded", - 17: "file exists", - 14: "bad address", - 27: "file too large", + 17: "file exists", + 14: "bad address", + 27: "file too large", 112: "host is down", 113: "no route to host", - 43: "identifier removed", - 84: "invalid or incomplete multibyte or wide character", + 43: "identifier removed", + 84: "invalid or incomplete multibyte or wide character", 115: "operation now in progress", - 4: "interrupted system call", - 22: "invalid argument", - 5: "input/output error", + 4: "interrupted system call", + 22: "invalid argument", + 5: "input/output error", 106: "transport endpoint is already connected", - 21: "is a directory", + 21: "is a directory", 120: "is a named type file", 127: "key has expired", 129: "key was rejected by service", 128: "key has been revoked", - 51: "level 2 halted", - 45: "level 2 not synchronized", - 46: "level 3 halted", - 47: "level 3 reset", - 79: "can not access a needed shared library", - 80: "accessing a corrupted shared library", - 83: "cannot exec a shared library directly", - 82: "attempting to link in too many shared libraries", - 81: ".lib section in a.out corrupted", - 48: "link number out of range", - 40: "too many levels of symbolic links", + 51: "level 2 halted", + 45: "level 2 not synchronized", + 46: "level 3 halted", + 47: "level 3 reset", + 79: "can not access a needed shared library", + 80: "accessing a corrupted shared library", + 83: "cannot exec a shared library directly", + 82: "attempting to link in too many shared libraries", + 81: ".lib section in a.out corrupted", + 48: "link number out of range", + 40: "too many levels of symbolic links", 124: "wrong medium type", - 24: "too many open files", - 31: "too many links", - 90: "message too long", - 72: "multihop attempted", - 36: "file name too long", + 24: "too many open files", + 31: "too many links", + 90: "message too long", + 72: "multihop attempted", + 36: "file name too long", 119: "no XENIX semaphores available", 100: "network is down", 102: "network dropped connection on reset", 101: "network is unreachable", - 23: "too many open files in system", - 55: "no anode", + 23: "too many open files in system", + 55: "no anode", 105: "no buffer space available", - 50: "no CSI structure available", - 61: "no data available", - 19: "no such device", - 2: "no such file or directory", - 8: "exec format error", + 50: "no CSI structure available", + 61: "no data available", + 19: "no such device", + 2: "no such file or directory", + 8: "exec format error", 126: "required key not available", - 37: "no locks available", - 67: "link has been severed", + 37: "no locks available", + 67: "link has been severed", 123: "no medium found", - 12: "cannot allocate memory", - 42: "no message of desired type", - 64: "machine is not on the network", - 65: "package not installed", - 92: "protocol not available", - 28: "no space left on device", - 63: "out of streams resources", - 60: "device not a stream", - 38: "function not implemented", - 15: "block device required", + 12: "cannot allocate memory", + 42: "no message of desired type", + 64: "machine is not on the network", + 65: "package not installed", + 92: "protocol not available", + 28: "no space left on device", + 63: "out of streams resources", + 60: "device not a stream", + 38: "function not implemented", + 15: "block device required", 107: "transport endpoint is not connected", - 20: "not a directory", - 39: "directory not empty", + 20: "not a directory", + 39: "directory not empty", 118: "not a XENIX named type file", 131: "state not recoverable", - 88: "socket operation on non-socket", - 95: "operation not supported", - 25: "inappropriate ioctl for device", - 76: "name not unique on network", - 6: "no such device or address", - 75: "value too large for defined data type", + 88: "socket operation on non-socket", + 95: "operation not supported", + 25: "inappropriate ioctl for device", + 76: "name not unique on network", + 6: "no such device or address", + 75: "value too large for defined data type", 130: "owner died", - 1: "operation not permitted", - 96: "protocol family not supported", - 32: "broken pipe", - 71: "protocol error", - 93: "protocol not supported", - 91: "protocol wrong type for socket", - 34: "numerical result out of range", - 78: "remote address changed", - 66: "object is remote", + 1: "operation not permitted", + 96: "protocol family not supported", + 32: "broken pipe", + 71: "protocol error", + 93: "protocol not supported", + 91: "protocol wrong type for socket", + 34: "numerical result out of range", + 78: "remote address changed", + 66: "object is remote", 121: "remote I/O error", - 85: "interrupted system call should be restarted", + 85: "interrupted system call should be restarted", 132: "unknown error 132", - 30: "read-only file system", + 30: "read-only file system", 108: "cannot send after transport endpoint shutdown", - 94: "socket type not supported", - 29: "illegal seek", - 3: "no such process", - 69: "srmount error", + 94: "socket type not supported", + 29: "illegal seek", + 3: "no such process", + 69: "srmount error", 116: "stale NFS file handle", - 86: "streams pipe error", - 62: "timer expired", + 86: "streams pipe error", + 62: "timer expired", 110: "connection timed out", 109: "too many references: cannot splice", - 26: "text file busy", + 26: "text file busy", 117: "structure needs cleaning", - 49: "protocol driver not attached", - 87: "too many users", - 18: "invalid cross-device link", - 54: "exchange full", + 49: "protocol driver not attached", + 87: "too many users", + 18: "invalid cross-device link", + 54: "exchange full", } diff --git a/src/pkg/syscall/zerrors_linux_arm.go b/src/pkg/syscall/zerrors_linux_arm.go index 19d676074..b768daa09 100644 --- a/src/pkg/syscall/zerrors_linux_arm.go +++ b/src/pkg/syscall/zerrors_linux_arm.go @@ -187,133 +187,133 @@ const ( // Error table var errors = [...]string{ - 72: "multihop attempted", - 49: "protocol driver not attached", - 97: "address family not supported by protocol", - 78: "remote address changed", - 13: "permission denied", - 47: "level 3 reset", - 89: "destination address required", - 84: "invalid or incomplete multibyte or wide character", - 29: "illegal seek", - 31: "too many links", + 72: "multihop attempted", + 49: "protocol driver not attached", + 97: "address family not supported by protocol", + 78: "remote address changed", + 13: "permission denied", + 47: "level 3 reset", + 89: "destination address required", + 84: "invalid or incomplete multibyte or wide character", + 29: "illegal seek", + 31: "too many links", 130: "owner died", - 25: "inappropriate ioctl for device", - 52: "invalid exchange", - 9: "bad file descriptor", - 53: "invalid request descriptor", - 68: "advertise error", - 34: "numerical result out of range", + 25: "inappropriate ioctl for device", + 52: "invalid exchange", + 9: "bad file descriptor", + 53: "invalid request descriptor", + 68: "advertise error", + 34: "numerical result out of range", 125: "operation canceled", - 26: "text file busy", - 12: "cannot allocate memory", + 26: "text file busy", + 12: "cannot allocate memory", 115: "operation now in progress", - 39: "directory not empty", - 15: "block device required", - 91: "protocol wrong type for socket", - 85: "interrupted system call should be restarted", + 39: "directory not empty", + 15: "block device required", + 91: "protocol wrong type for socket", + 85: "interrupted system call should be restarted", 120: "is a named type file", - 42: "no message of desired type", + 42: "no message of desired type", 114: "operation already in progress", 110: "connection timed out", - 61: "no data available", - 4: "interrupted system call", - 67: "link has been severed", - 1: "operation not permitted", - 40: "too many levels of symbolic links", + 61: "no data available", + 4: "interrupted system call", + 67: "link has been severed", + 1: "operation not permitted", + 40: "too many levels of symbolic links", 100: "network is down", 116: "stale NFS file handle", - 88: "socket operation on non-socket", - 63: "out of streams resources", - 10: "no child processes", - 48: "link number out of range", - 32: "broken pipe", - 74: "bad message", - 59: "bad font file format", - 66: "object is remote", + 88: "socket operation on non-socket", + 63: "out of streams resources", + 10: "no child processes", + 48: "link number out of range", + 32: "broken pipe", + 74: "bad message", + 59: "bad font file format", + 66: "object is remote", 109: "too many references: cannot splice", - 96: "protocol family not supported", - 64: "machine is not on the network", - 54: "exchange full", - 57: "invalid slot", + 96: "protocol family not supported", + 64: "machine is not on the network", + 54: "exchange full", + 57: "invalid slot", 118: "not a XENIX named type file", - 50: "no CSI structure available", - 98: "address already in use", + 50: "no CSI structure available", + 98: "address already in use", 102: "network dropped connection on reset", - 21: "is a directory", - 43: "identifier removed", - 70: "communication error on send", - 77: "file descriptor in bad state", - 51: "level 2 halted", + 21: "is a directory", + 43: "identifier removed", + 70: "communication error on send", + 77: "file descriptor in bad state", + 51: "level 2 halted", 126: "required key not available", - 22: "invalid argument", + 22: "invalid argument", 108: "cannot send after transport endpoint shutdown", 129: "key was rejected by service", - 81: ".lib section in a.out corrupted", + 81: ".lib section in a.out corrupted", 119: "no XENIX semaphores available", - 75: "value too large for defined data type", + 75: "value too large for defined data type", 117: "structure needs cleaning", 123: "no medium found", - 16: "device or resource busy", - 71: "protocol error", - 19: "no such device", + 16: "device or resource busy", + 71: "protocol error", + 19: "no such device", 127: "key has expired", - 30: "read-only file system", - 79: "can not access a needed shared library", - 7: "argument list too long", - 35: "resource deadlock avoided", - 20: "not a directory", + 30: "read-only file system", + 79: "can not access a needed shared library", + 7: "argument list too long", + 35: "resource deadlock avoided", + 20: "not a directory", 104: "connection reset by peer", - 6: "no such device or address", - 56: "invalid request code", - 36: "file name too long", - 94: "socket type not supported", - 83: "cannot exec a shared library directly", - 73: "RFS specific error", - 99: "cannot assign requested address", - 62: "timer expired", - 93: "protocol not supported", + 6: "no such device or address", + 56: "invalid request code", + 36: "file name too long", + 94: "socket type not supported", + 83: "cannot exec a shared library directly", + 73: "RFS specific error", + 99: "cannot assign requested address", + 62: "timer expired", + 93: "protocol not supported", 131: "state not recoverable", - 5: "input/output error", + 5: "input/output error", 101: "network is unreachable", - 18: "invalid cross-device link", + 18: "invalid cross-device link", 122: "disk quota exceeded", 121: "remote I/O error", - 28: "no space left on device", - 8: "exec format error", - 90: "message too long", - 33: "numerical argument out of domain", - 60: "device not a stream", - 27: "file too large", - 3: "no such process", - 44: "channel number out of range", + 28: "no space left on device", + 8: "exec format error", + 90: "message too long", + 33: "numerical argument out of domain", + 60: "device not a stream", + 27: "file too large", + 3: "no such process", + 44: "channel number out of range", 112: "host is down", - 37: "no locks available", - 23: "too many open files in system", - 38: "function not implemented", + 37: "no locks available", + 23: "too many open files in system", + 38: "function not implemented", 107: "transport endpoint is not connected", - 95: "operation not supported", - 69: "srmount error", + 95: "operation not supported", + 69: "srmount error", 103: "software caused connection abort", - 55: "no anode", + 55: "no anode", 106: "transport endpoint is already connected", - 87: "too many users", - 92: "protocol not available", - 24: "too many open files", + 87: "too many users", + 92: "protocol not available", + 24: "too many open files", 105: "no buffer space available", - 46: "level 3 halted", - 14: "bad address", - 11: "resource temporarily unavailable", - 80: "accessing a corrupted shared library", - 86: "streams pipe error", + 46: "level 3 halted", + 14: "bad address", + 11: "resource temporarily unavailable", + 80: "accessing a corrupted shared library", + 86: "streams pipe error", 111: "connection refused", - 82: "attempting to link in too many shared libraries", - 17: "file exists", - 45: "level 2 not synchronized", - 2: "no such file or directory", - 65: "package not installed", + 82: "attempting to link in too many shared libraries", + 17: "file exists", + 45: "level 2 not synchronized", + 2: "no such file or directory", + 65: "package not installed", 128: "key has been revoked", 113: "no route to host", - 76: "name not unique on network", + 76: "name not unique on network", 124: "wrong medium type", } diff --git a/src/pkg/syscall/zerrors_nacl_386.go b/src/pkg/syscall/zerrors_nacl_386.go index 2c1dff8cf..546e02754 100644 --- a/src/pkg/syscall/zerrors_nacl_386.go +++ b/src/pkg/syscall/zerrors_nacl_386.go @@ -129,118 +129,118 @@ const ( // Error table var errors = [...]string{ - EPERM: "operation not permitted", - ENOENT: "no such file or directory", - ESRCH: "no such process", - EINTR: "interrupted system call", - EIO: "I/O error", - ENXIO: "no such device or address", - E2BIG: "argument list too long", - ENOEXEC: "exec format error", - EBADF: "bad file number", - ECHILD: "no child processes", - EAGAIN: "try again", - ENOMEM: "out of memory", - EACCES: "permission denied", - EFAULT: "bad address", - EBUSY: "device or resource busy", - EEXIST: "file exists", - EXDEV: "cross-device link", - ENODEV: "no such device", - ENOTDIR: "not a directory", - EISDIR: "is a directory", - EINVAL: "invalid argument", - ENFILE: "file table overflow", - EMFILE: "too many open files", - ENOTTY: "not a typewriter", - EFBIG: "file too large", - ENOSPC: "no space left on device", - ESPIPE: "illegal seek", - EROFS: "read-only file system", - EMLINK: "too many links", - EPIPE: "broken pipe", + EPERM: "operation not permitted", + ENOENT: "no such file or directory", + ESRCH: "no such process", + EINTR: "interrupted system call", + EIO: "I/O error", + ENXIO: "no such device or address", + E2BIG: "argument list too long", + ENOEXEC: "exec format error", + EBADF: "bad file number", + ECHILD: "no child processes", + EAGAIN: "try again", + ENOMEM: "out of memory", + EACCES: "permission denied", + EFAULT: "bad address", + EBUSY: "device or resource busy", + EEXIST: "file exists", + EXDEV: "cross-device link", + ENODEV: "no such device", + ENOTDIR: "not a directory", + EISDIR: "is a directory", + EINVAL: "invalid argument", + ENFILE: "file table overflow", + EMFILE: "too many open files", + ENOTTY: "not a typewriter", + EFBIG: "file too large", + ENOSPC: "no space left on device", + ESPIPE: "illegal seek", + EROFS: "read-only file system", + EMLINK: "too many links", + EPIPE: "broken pipe", ENAMETOOLONG: "file name too long", - ENOSYS: "function not implemented", - EDQUOT: "quota exceeded", - EDOM: "math arg out of domain of func", - ERANGE: "math result not representable", - ENOMSG: "no message of desired type", - ECHRNG: "channel number out of range", - EL3HLT: "level 3 halted", - EL3RST: "level 3 reset", - ELNRNG: "link number out of range", - EUNATCH: "protocol driver not attached", - ENOCSI: "no CSI structure available", - EL2HLT: "level 2 halted", - EDEADLK: "deadlock condition", - ENOLCK: "no record locks available", - EBADE: "invalid exchange", - EBADR: "invalid request descriptor", - EXFULL: "exchange full", - ENOANO: "no anode", - EBADRQC: "invalid request code", - EBADSLT: "invalid slot", - EBFONT: "bad font file fmt", - ENOSTR: "device not a stream", - ENODATA: "no data (for no delay io)", - ETIME: "timer expired", - ENOSR: "out of streams resources", - ENONET: "machine is not on the network", - ENOPKG: "package not installed", - EREMOTE: "the object is remote", - ENOLINK: "the link has been severed", - EADV: "advertise error", - ESRMNT: "srmount error", - ECOMM: "communication error on send", - EPROTO: "protocol error", - EMULTIHOP: "multihop attempted", - ELBIN: "inode is remote (not really error)", - EDOTDOT: "cross mount point (not really error)", - EBADMSG: "trying to read unreadable message", - EFTYPE: "inappropriate file type or format", - ENOTUNIQ: "given log. name not unique", - EBADFD: "f.d. invalid for this operation", - EREMCHG: "remote address changed", - ELIBACC: "can't access a needed shared lib", - ELIBBAD: "accessing a corrupted shared lib", - ELIBSCN: ".lib section in a.out corrupted", - ELIBMAX: "attempting to link in too many libs", - ELIBEXEC: "attempting to exec a shared library", - ENMFILE: "no more files", - ENOTEMPTY: "directory not empty", - ELOOP: "too many symbolic links", - EOPNOTSUPP: "operation not supported on transport endpoint", + ENOSYS: "function not implemented", + EDQUOT: "quota exceeded", + EDOM: "math arg out of domain of func", + ERANGE: "math result not representable", + ENOMSG: "no message of desired type", + ECHRNG: "channel number out of range", + EL3HLT: "level 3 halted", + EL3RST: "level 3 reset", + ELNRNG: "link number out of range", + EUNATCH: "protocol driver not attached", + ENOCSI: "no CSI structure available", + EL2HLT: "level 2 halted", + EDEADLK: "deadlock condition", + ENOLCK: "no record locks available", + EBADE: "invalid exchange", + EBADR: "invalid request descriptor", + EXFULL: "exchange full", + ENOANO: "no anode", + EBADRQC: "invalid request code", + EBADSLT: "invalid slot", + EBFONT: "bad font file fmt", + ENOSTR: "device not a stream", + ENODATA: "no data (for no delay io)", + ETIME: "timer expired", + ENOSR: "out of streams resources", + ENONET: "machine is not on the network", + ENOPKG: "package not installed", + EREMOTE: "the object is remote", + ENOLINK: "the link has been severed", + EADV: "advertise error", + ESRMNT: "srmount error", + ECOMM: "communication error on send", + EPROTO: "protocol error", + EMULTIHOP: "multihop attempted", + ELBIN: "inode is remote (not really error)", + EDOTDOT: "cross mount point (not really error)", + EBADMSG: "trying to read unreadable message", + EFTYPE: "inappropriate file type or format", + ENOTUNIQ: "given log. name not unique", + EBADFD: "f.d. invalid for this operation", + EREMCHG: "remote address changed", + ELIBACC: "can't access a needed shared lib", + ELIBBAD: "accessing a corrupted shared lib", + ELIBSCN: ".lib section in a.out corrupted", + ELIBMAX: "attempting to link in too many libs", + ELIBEXEC: "attempting to exec a shared library", + ENMFILE: "no more files", + ENOTEMPTY: "directory not empty", + ELOOP: "too many symbolic links", + EOPNOTSUPP: "operation not supported on transport endpoint", EPFNOSUPPORT: "protocol family not supported", - ECONNRESET: "connection reset by peer", - ENOBUFS: "no buffer space available", + ECONNRESET: "connection reset by peer", + ENOBUFS: "no buffer space available", EAFNOSUPPORT: "address family not supported by protocol family", - EPROTOTYPE: "protocol wrong type for socket", - ENOTSOCK: "socket operation on non-socket", - ENOPROTOOPT: "protocol not available", - ESHUTDOWN: "can't send after socket shutdown", - ECONNREFUSED: "connection refused", - EADDRINUSE: "address already in use", - ECONNABORTED: "connection aborted", - ENETUNREACH: "network is unreachable", - ENETDOWN: "network interface is not configured", - ETIMEDOUT: "connection timed out", - EHOSTDOWN: "host is down", - EHOSTUNREACH: "host is unreachable", - EINPROGRESS: "connection already in progress", - EALREADY: "socket already connected", - EDESTADDRREQ: "destination address required", + EPROTOTYPE: "protocol wrong type for socket", + ENOTSOCK: "socket operation on non-socket", + ENOPROTOOPT: "protocol not available", + ESHUTDOWN: "can't send after socket shutdown", + ECONNREFUSED: "connection refused", + EADDRINUSE: "address already in use", + ECONNABORTED: "connection aborted", + ENETUNREACH: "network is unreachable", + ENETDOWN: "network interface is not configured", + ETIMEDOUT: "connection timed out", + EHOSTDOWN: "host is down", + EHOSTUNREACH: "host is unreachable", + EINPROGRESS: "connection already in progress", + EALREADY: "socket already connected", + EDESTADDRREQ: "destination address required", EPROTONOSUPPORT: "unknown protocol", ESOCKTNOSUPPORT: "socket type not supported", - EADDRNOTAVAIL: "address not available", - EISCONN: "socket is already connected", - ENOTCONN: "socket is not connected", - ENOMEDIUM: "no medium (in tape drive)", - ENOSHARE: "no such host or network path", - ECASECLASH: "filename exists with different case", - EOVERFLOW: "value too large for defined data type", - ECANCELED: "operation canceled.", - EL2NSYNC: "level 2 not synchronized", - EIDRM: "identifier removed", - EMSGSIZE: "message too long", - ENACL: "not supported by native client", + EADDRNOTAVAIL: "address not available", + EISCONN: "socket is already connected", + ENOTCONN: "socket is not connected", + ENOMEDIUM: "no medium (in tape drive)", + ENOSHARE: "no such host or network path", + ECASECLASH: "filename exists with different case", + EOVERFLOW: "value too large for defined data type", + ECANCELED: "operation canceled.", + EL2NSYNC: "level 2 not synchronized", + EIDRM: "identifier removed", + EMSGSIZE: "message too long", + ENACL: "not supported by native client", } |